Major Highlights:
-
Python SDK Modernization
- Switched from dictionary-based access to object-oriented syntax
- Example:
client.documents.list.results[0].id
replacesclient.documents.list['results'][0][id]
-
Simplified Server Start Process
- Removed CLI interface
- New commands to start server:
python -m r2r.serve
orr2r-serve
-
Improved Configuration FIles
- Removed scattered model definitions, condensed to
fast_llm
,quality_llm
,vlm
, andaudio_lm
. - Decluttered and introduced
agent_static_prompt
andagent_dynamic_prompt
templates
- Removed scattered model definitions, condensed to
Other Notable Changes:
-
Enhanced error handling and observability
- Improved ingestion error reporting
- Better handling of invalid JSON files
- Added Sentry support
-
Agent and Tool Improvements
- Added multi-search tool functionality
- Implemented custom Gemini agent
- Added Anthropic completion provider
- Created advanced Claude reasoning agent
-
Infrastructure Updates
- Added API key support to JS SDK
- Improved staging deployment process
- Enhanced configuration for retrieval vs ingestion embeddings
The release also includes numerous bug fixes, code cleanup efforts, and minor improvements to various components of the system.
New Contributors
- @cristiancmoises made their first contribution in #1882
Full Changelog: v3.3.30...v3.4.0