Repository navigation
v0.1.2
New Features
- Agentic RAG mode —
query(question, agentic=True)retrieves relevant sections then generates a direct LLM answer. Available in both Python and Node.js. - Multi-document support — Web demo now supports uploading and querying across multiple documents simultaneously
- Answer prompt — New
answerPrompt/ANSWER_PROMPTtemplate for answer generation
Bug Fixes
- Fix page range assignment — Sections starting on the same page no longer get inverted ranges (e.g. "pages 10-9"), which caused empty context text
- Fix PDF loading — Convert
BuffertoUint8Arrayforpdfjs-distcompatibility - Fix multer file upload — Preserve original file extension for format detection
- Increase LLM timeout — Default 5 min (configurable via
timeoutoption onOpenAICompatibleLLM)
Other
- Shorter retrieval reasoning (one sentence instead of verbose paragraph)
- Improved answer prompt with explicit instructions to extract facts from context
- Web demo switched from NVIDIA Kimi K2.5 to Groq for fast inference
- Updated Colab notebook with agentic mode examples
- Updated README with agentic RAG documentation
Full Changelog: v0.1.1...v0.1.2