Releases: SciPhi-AI/R2R
V0.2.83
Release v0.2.83
We're excited to announce the release of version 0.2.83, which brings new features, bug fixes, and improvements to enhance your experience with R2R.
New Features
- Migration Support: Introduced Alembic for database migration support.
- Enhanced Logging: Added
CompletionRecordto logs for richer observability. - Completion Scoring: Users can now provide feedback on the responses they receive.
- User Tracking: Added user tracking to logs for improved analytics.
Bug Fixes
- Resolved issues related to
CONFIG_PATHvariables. - Fixed incorrect providers in default configs.
- Various other minor bug fixes and improvements.
Breaking Changes
- Database Migration Required: Run
r2r migrateto update your local SQLite logging database. - User ID in Logs: User IDs are now included in logs. Logging without user ID is deprecated but will be supported until v0.3.0.
Configuration Updates
- Adjustments made to
r2r/examples/configs/local_llm_neo4j_kg.toml.
Other Changes
- Multiple pull requests for patches and updates.
- Temporary changes that were reverted.
Documentation Updates
- Added instructions on how to score completions with the Python SDK.
Contributors
We'd like to thank all the contributors who made this release possible, with a special shoutout to @smig23 for their first contribution!
V0.2.76
Summary of Changes
This release includes several significant updates and improvements:
-
Bug fixes:
-
Feature enhancements:
-
Infrastructure improvements:
-
Developer experience:
-
User experience:
-
Performance enhancements:
-
Flexibility improvements:
New Contributors
- @igor-pechersky made their first contribution (#815)
v0.2.74
0.2.74 - 2024-07-30
Added
- Docker Dev Image for CI/CD
- No-postgres mode
- Completion yield functionality
- Entity types and relationships for Knowledge Graph search
Changed
- Refactored CLI
- Updated concurrency and various configs
- Renamed 'local_ollama' to 'local_llm'
- Separated tool stream and LLM outputs
Fixed
- Health check dependency in Dockerfile
- Backoff for stream chat
- Runtime warning about version reading
- host.docker.internal connectivity issues
Improved
- R2R image configuration
- Local LLM configurations
Removed
- Postgres dependency from Docker (optional exclusion)
Contributors
- @houjibofa2050 made their first contribution
v0.2.73
Here's a compressed version of the changelog:
Key Changes
- Introduction of assistants an streaming assistants (#759, #763, #765, #774, #777)
- Improvements to PDF, XLSX, and CSV parsing (#754, #764)
- Package updates and fixes (PRs #741, #743, #744, #753)
- Refactoring and improvements to request handling (#756, #757)
- Renaming KG agent to KG search (#766)
- Integration tests added (#761)
- CLI and performance enhancements (#773, #776)
- Various bug fixes and improvements (#745, #746, #752, #755, #769, #768, #772, #775, #780, #787)
New Contributors
Full Changelog: v2.0.64...v0.2.73
v0.2.64
What's Changed
- bundle ollama by @emrgnt-cmplxty in #723
- Dev by @emrgnt-cmplxty in #727
- cleanup print cruft by @emrgnt-cmplxty in #737
Full Changelog: v0.2.61...v2.0.64
v0.2.61
v0.2.61 - Adding Auth 🚀 🚀 🚀
Summary:
Added authentication, crypto, and database providers, and updated routes, client, and tests accordingly
Key points:
- Hard-coded limits for entities and relations in r2r/base/providers/kg.py update_kg_prompt function.
- Added auth, crypto, and database configurations in r2r.json.
- Introduced new classes for user management in r2r/base/abstractions/user.py.
- Added AuthProvider, CryptoProvider, and DatabaseProvider classes in r2r/base/providers.
- Updated R2RClient in r2r/main/api/client.py to handle authentication.
- Added authentication routes in r2r/main/api/routes/auth.py.
- Updated ingestion, management, and retrieval routes to include authentication checks.
- Updated R2RBuilder and R2RProviderFactory to support new providers.
- Added tests for new authentication and database functionalities.
- Updated documentation and configuration files to reflect changes.
v0.2.60
v0.2.60
v0.2.59
Dev (#687) * Feature/iamteapot (#683) * i am a teapot * i am a teapot * Feature/cleanup kg extraction (#685) * Update pyproject.toml (#684) * tweak local kg extr * update * update * cleanups * fix compose * fix compose * fix non-local * up * cleanup
v0.2.58
###v 0.2.58
Summary:
This PR renames configuration options, updates prompts, enhances knowledge graph extraction, and improves Docker and CLI functionalities across the codebase.
Key points:
- Renamed
CONFIG_OPTIONtoCONFIG_NAMEinREADME.md,compose.yaml, andr2r/main/app_entry.py. - Updated Docker volumes in
compose.neo4j.yamlandcompose.yaml. - Changed default prompts in
r2r/base/providers/kg_provider.pyandr2r/prompts/local/defaults.jsonl. - Enhanced knowledge graph extraction logic in
r2r/pipes/ingestion/kg_extraction_pipe.py. - Modified CLI commands in
r2r/cli/cli.pyto support new configuration options and improved error handling. - Improved knowledge graph inspection and analytics in
r2r/main/services/management_service.py. - Refactored vector handling in
r2r/vecs/collection.pyto use a customVectortype.
v0.2.51
Summary:
Enhanced ingestion process, added new tests, and improved logging and configuration handling across the codebase.
Key points:
- Added POSTGRES_VECS_COLLECTION to .env.example and ci.yml.
- Updated Python version to 3.12.4 in ci.yml.
- Added Ollama installation and server setup steps in ci.yml.
- Modified Dockerfile to use multi-stage builds and updated CMD to use uvicorn.
- Added CLIENT_MODE to compose.yaml.
- Updated pyproject.toml to ignore specific warnings and set asyncio_mode to auto.
- Added new exceptions R2RDocumentProcessingError and R2RException in r2r/base/abstractions/exception.py.
- Updated r2r/base/abstractions/document.py to include DocumentStatus and set initial status to processing.
- Updated document ingestion process to mark progressive status throughout ingestion process.
- Refactored ingestion and update document methods in r2r/main/services/ingestion_service.py.
- Added new tests for ingestion service in tests/test_ingestion_service.py.
- Added async fixtures and cleanup tasks in multiple test files to handle asyncio event loops and task cleanup.
- Updated embedding providers to handle retries and backoff in r2r/providers/embeddings/ollama/ollama_base.py.
- Added new end-to-end tests in tests/test_end_to_end.py.
- Refactored logging tests to include async fixtures and handle multiple logging providers in tests/test_logging.py.