Spaces:
Sleeping
Sleeping
Commit History
-
Pre-render walkthrough steps (text + audio) for instant playback
Generates all 48 walkthrough steps offline via RAG+Claude+TTS and serves them as static files, eliminating per-request API calls and ~5-8s wait times. - Add scripts/prerender_walkthrough.py for offline generation - Add get_prerendered_step() and /api/walkthrough/audio endpoint - Frontend uses prerendered audio URL with TTS fallback - Track MP3 files in Git LFS Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a1bfaa6 -
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 -
Add YouTube transcripts to RAG, walkthrough voice guide, and intro story
- YouTube transcript pipeline: fetch (yt-dlp) + VTT parser + chunking - 5x GenusSolo DE (S01E01-E05) + 3x EN tutorials indexed - Hard-split fallback for punctuation-free auto-subs - Walkthrough step-expander with RAG-backed prompt templates - Atmospheric intro story step before rules explanation - Campaign + Zone Survival modes with full phase/step definitions - Voice guide frontend with TTS playback and step navigation - scripts/fetch_transcripts.py with --list option to inspect video sources Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>60a07be -
Add German rulebook PDFs and recursive PDF discovery in build_index
- 4 German PDFs (Rulebook, Zone Survival, Addon D&F, Mission Guide) - build_index.py now walks subdirectories (de_files/) recursively - Index rebuilt: 904 chunks total (380 EN + 524 DE) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>e4acb6a -
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 -
Add PDF download script and S.T.A.L.K.E.R. rulebook data
- Implement fetch_data.py with download logic (requests + progress bar) - Include rulebook_v1.pdf and faq_v1_2025-01-15.pdf in data/raw/stalker/ - Remove data/raw/ from .gitignore (private repo, keep everything in one place) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>ec84e95 -
Initial commit – Arkanum v1.0
ebf20cf