Skip to main content

SciPhi R2R

Project description

Docs Discord Github Stars Commits-per-week License: MIT Gurubase: R2R Guru

r2r

Build, scale, and deploy state of the art Retrieval-Augmented Generation applications.

About

R2R (RAG to Riches), the Elasticsearch for RAG, bridges the gap between experimenting with and deploying state of the art Retrieval-Augmented Generation (RAG) applications. It's a complete platform that helps you quickly build and launch scalable RAG solutions. Built around a containerized RESTful API, R2R offers multimodal ingestion support, hybrid search, GraphRAG capabilities, user management, and observability features.

For a more complete view of R2R, check out the full documentation.

Key Features

What's New

  • Release 3.1.0    September 6, 2024    

    Warning: These changes are breaking! We will be releasing a migration script soon.

    • Orchestration with Hatchet
    • Default ingestion provider set to Unstructured
    • Improved knowledge graph construction process

Install with pip

The recommended way to get started with R2R is by using our CLI.

pip install r2r

You may run R2R directly from the python package, but additional dependencies like Postgres+pgvector must be configured and the full R2R core is required:

# export OPENAI_API_KEY=sk-...
# export POSTGRES...
pip install 'r2r[core,ingestion-bundle]'
r2r --config-name=default serve

Alternatively, R2R can be launched alongside its requirements inside Docker:

# export OPENAI_API_KEY=sk-...
r2r serve --docker --full

The command above will install the full installation which includes Hatchet for orchestration and Unstructured.io for parsing.

Getting Started

  • Installation: Quick installation of R2R using Docker or pip
  • Quickstart: A quick introduction to R2R's core features

API & SDKs

  • SDK: API reference and Python/JS SDKs for interacting with R2R
  • API: API reference and Python/JS SDKs for interacting with R2R
  • Configuration: A guide on how to configure your R2R system

Cookbooks

Community

Join our Discord server to get support and connect with both the R2R team and other developers in the community. Whether you're encountering issues, looking for advice on best practices, or just want to share your experiences, we're here to help.

Contributing

We welcome contributions of all sizes! Here's how you can help:

Our Contributors

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

r2r-3.2.33.tar.gz (8.1 MB view details)

Uploaded Source

Built Distribution

r2r-3.2.33-py3-none-any.whl (8.3 MB view details)

Uploaded Python 3

File details

Details for the file r2r-3.2.33.tar.gz.

File metadata

  • Download URL: r2r-3.2.33.tar.gz
  • Upload date:
  • Size: 8.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for r2r-3.2.33.tar.gz
Algorithm Hash digest
SHA256 8a8b4f798c98014f2796bd034614d0f8e839fe9ab542ae03ed63ec951d174a3b
MD5 e4a1e73efd5a84c734ef90b77f0e0b30
BLAKE2b-256 80a217d636624d8014e99491f7f5e7ac34afe66caad683b2eea471df4356679c

See more details on using hashes here.

File details

Details for the file r2r-3.2.33-py3-none-any.whl.

File metadata

  • Download URL: r2r-3.2.33-py3-none-any.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for r2r-3.2.33-py3-none-any.whl
Algorithm Hash digest
SHA256 0d593e44946eed5bc776f5f752cf8b0f76e2f90386c4a331866403fb34550f2b
MD5 07b8119b69b4578650f295a10709b662
BLAKE2b-256 f3e8c8fe96b3fdb5cb5db0ed5f610942d392adad1fd199139a45e87a7a546b72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page