Skip to content

v2.5.2

Choose a tag to compare

@devemree devemree released this 05 Feb 18:50
· 3 commits to main since this release

Quick RAG v2.5.2

Fixed

  • React subpath export fixed: quick-rag/react now resolves correctly to src/react/useRag.js
  • useRAG non-stream flow aligned with modern generateWithRAG(client, model, query, docs, options) usage
  • Type definitions aligned with runtime for generateWithRAG return shape: { docs, response, prompt }

Changed

  • Ollama base chat model standardized to granite4:3b across examples and integration-oriented tests
  • initRAG now supports baseEmbeddingOptions.createEmbedding for deterministic/custom embedding injection
  • initRAG tests made deterministic for default test runs (external provider smoke test remains opt-in with RUN_INTEGRATION_TESTS=true)
  • Documentation refreshed for current defaults:
    • Ollama embedding: qwen3-embedding:0.6b
    • LM Studio embedding: text-embedding-qwen3-embedding-0.6b
    • Ollama chat: granite4:3b

Verification

  • npm test passed
  • Package published: quick-rag@2.5.2