Skip to content

v0.1.2

Choose a tag to compare

@mithun50 mithun50 released this 01 Mar 09:51
· 28 commits to main since this release

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_PROMPT template 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 Buffer to Uint8Array for pdfjs-dist compatibility
  • Fix multer file upload — Preserve original file extension for format detection
  • Increase LLM timeout — Default 5 min (configurable via timeout option on OpenAICompatibleLLM)

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