Skip to content

Releases: SciPhi-AI/R2R

v0.2.61

18 Jul 23:42
0172245
Compare
Choose a tag to compare

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

14 Jul 02:04
2be5fac
Compare
Choose a tag to compare

v0.2.60

v0.2.59

12 Jul 18:29
c61cf66
Compare
Choose a tag to compare
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

12 Jul 15:45
a1d89f1
Compare
Choose a tag to compare

###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_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.

v0.2.51

09 Jul 22:58
99b7657
Compare
Choose a tag to compare

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.

v0.2.47

01 Jul 01:52
a05dff5
Compare
Choose a tag to compare

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

v0.2.39

27 Jun 09:03
08b0864
Compare
Choose a tag to compare

v0.2.39

v2.0.38

25 Jun 05:33
4b3a389
Compare
Choose a tag to compare

v2.0.38

Release Notes:

  1. Document Management:

    • Enhanced document ingestion and search functionalities
    • Added UUID generation based on data hash
    • Improved handling of document updates and file ingestion
  2. API and Endpoints:

    • Added health check endpoint
    • Updated search result format and handling
    • Improved KG agent prompt updating
  3. Configuration and Dependencies:

    • Set Ollama as default local embedding provider
    • Updated dependencies and added CodeCov integration
    • Refined Docker documentation
  4. Code Refactoring:

    • Streamlined pipeline initialization
    • Renamed functions in quickstart example for consistency
    • Removed unused clients (ExaClient, IonicClient)
  5. Testing and CI:

    • Added end-to-end tests for document operations
    • Integrated CodeCov with CI workflow
  6. Documentation:

    • Reorganized and expanded README.md
    • Created Jupyter notebook for examples
    • Updated quickstart demo
  7. Bugfixes:

    • Addressed SQLite AND/OR logic bug
    • Fixed Ollama serve command error
    • Patched quickstart bug
  8. Misc:

    • Updated logging format
    • Added debug print statement in R2RApp initialization

v2.0.3

21 Jun 18:47
8c51380
Compare
Choose a tag to compare

Version v2.0.3

Integrates v0 of the knowledge graph agent and finalizes v1 API, check out the latest docs here

  • https://r2r-docs.sciphi.ai/introduction.

  • Refactor application logic to have ingestion / retrieval / management services which are connected to the FastAPI.

  • Finalize v1 API spec

  • Add knowledge graph agent to the R2R pipeline

  • Refactor R2R into singleton


🚀 This description was created by Ellipsis for commit 5e17b27

Summary:

Refactored R2R application into modular services, integrated knowledge graph agent, updated API to v1, and enhanced embedding providers.

Key points:

  • Refactored application logic into ingestion, retrieval, and management services (r2r/main/services/*).
  • Integrated knowledge graph agent into R2R pipeline (r2r/pipes/kg_agent_search_pipe.py).
  • Refactored R2R into a singleton (r2r/main/app.py).
  • Updated API to v1 with new routes (r2r/main/api/routes/*).
  • Added VectorSearchSettings and KGSearchSettings for search configurations (r2r/core/abstractions/search.py).
  • Enhanced embedding providers (r2r/providers/embeddings/*).
  • Updated tests to reflect new architecture (tests/*).
  • Updated documentation to reflect new API and architecture (docs/*).

v2.0.18

14 Jun 21:51
5dad883
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.17...v2.0.18