Skip to content
/ R2R Public

The most advanced AI retrieval system. Containerized, Retrieval-Augmented Generation (RAG) with a RESTful API.

License

Notifications You must be signed in to change notification settings

SciPhi-AI/R2R

Repository files navigation

r2r

Containerized, Retrieval-Augmented Generation (RAG) with a RESTful API.

About

R2R (RAG to Riches) is the most advanced AI retrieval system, supporting Retrieval-Augmented Generation (RAG) with production-ready features. Built around a containerized RESTful API, R2R offers multimodal content ingestion, hybrid search functionality, knowledge graphs, and comprehensive user and document management.

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

Key Features

Getting Started

Access R2R through a deployment managed by the SciPhi team, which includes a generous free-tier. No credit card required.

Self Hosting

Install R2R:

# Install the R2R package
pip install r2r

# Set necessary environment variables
export OPENAI_API_KEY=sk-...

# Run the server and database
r2r serve --docker --full

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

Resources and Cookbooks

Cookbooks

Community

Join our Discord 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