RAG System
RAG systemの操作とデバッグ。
Key Files
-
API: src/rag/index.ts
-
Embedder: src/rag/embedder.ts
-
Vector DB: src/rag/vectordb.ts
CLI Commands
npm run rag:ingest # Ingest all npm run rag:ingest:github # From GitHub npm run rag:clear # Clear vectors npm run rag:stats # Statistics npm run rag:health # Health check
Environment
RAG_ENABLED=true RAG_TOP_K=5 RAG_SIMILARITY_THRESHOLD=0.7
Detailed Reference
File structure, specs, integration points: reference.md