Spaces:
Sleeping
Sleeping
Commit History
-
Pre-build embedding cache for fast startup, fix voice recording stop bug
Cache chunks+embeddings as index_cache.json (~38 MB, Git LFS) so container startup loads ChromaDB in ~3s instead of calling OpenAI embeddings API (~30-60s). Cache is generated by default on every index build. Fix walkthrough voice input not stopping: add 15s auto-timeout, show stop icon on mic button while listening, and centralize cleanup in vgStopListening(). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>8a2dc22 -
Add progress logging during index build for container visibility
PDF/YouTube parsing and embedding/indexing steps now log progress with counts and percentages via the arkanum logger. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>037b655 -
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