Spaces:
Sleeping
Sleeping
Commit History
-
Implement core RAG pipeline: PDF parsing, vector index, and rule expert
- src/ingestion/pdf.py: PyMuPDF-based PDF parser with section detection and token-aware chunking (~500 tokens, 50 overlap) - src/rag/vectorstore.py: ChromaDB vector store with OpenAI embeddings (text-embedding-3-small), build and retrieve functions - scripts/build_index.py: End-to-end pipeline script (PDF → chunks → index) - src/expert/query.py: Rule expert using RAG + Claude API (Sonnet) with structured answers and source citations - prompts/expert/base.md: Add language-matching instruction (answer language matches question language) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>08f87f1 -
Initial commit – Arkanum v1.0
ebf20cf