R2r

Latest version: v3.2.41

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

0.2.59

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_OPTION` to `CONFIG_NAME` in `README.md`, `compose.yaml`, and `r2r/main/app_entry.py`.
- Updated Docker volumes in `compose.neo4j.yaml` and `compose.yaml`.
- Changed default prompts in `r2r/base/providers/kg_provider.py` and `r2r/prompts/local/defaults.jsonl`.
- Enhanced knowledge graph extraction logic in `r2r/pipes/ingestion/kg_extraction_pipe.py`.
- Modified CLI commands in `r2r/cli/cli.py` to 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.py` to use a custom `Vector` type.

0.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.

0.2.47

Add r2r CLI
e.g. `r2r ingest` or `r2r search --query='who is aristotle' --do-hybrid-search`

Extending docker support
- First steps towards adding Postgres+pgvector directly to the Docker.
- Adding nginx to docker buildout
- Adding r2r dashboard to docker buildout

Developer experience
- clarified errors around dimension mismatches and missing pgvector installs
- improved configuration options, e.g. support for hardcoding postgres connection directly into the config
- made it trivial to do basic functionality via curl commands
- return search results with RAG output
- improved deletion filter options

0.2.39

0.2.17

- Transport latest neo4j integration in LlamaIndex for node metadata

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.