Aucune description

jack b433faff9e update il y a 3 mois
cli 3e8b6e1e6d update il y a 3 mois
core 013e328b6c update il y a 3 mois
migrations 3e8b6e1e6d update il y a 3 mois
r2r 6a36d2c526 first commit il y a 3 mois
sdk 3e8b6e1e6d update il y a 3 mois
shared 3e8b6e1e6d update il y a 3 mois
tests 3e8b6e1e6d update il y a 3 mois
.dockerignore 6a36d2c526 first commit il y a 3 mois
.isort.cfg 6a36d2c526 first commit il y a 3 mois
Dockerfile 6a36d2c526 first commit il y a 3 mois
Dockerfile.unstructured 6a36d2c526 first commit il y a 3 mois
README.md 6a36d2c526 first commit il y a 3 mois
compose.full.yaml 6a36d2c526 first commit il y a 3 mois
compose.full_with_replicas.yaml 6a36d2c526 first commit il y a 3 mois
compose.yaml 3e8b6e1e6d update il y a 3 mois
compose.yaml.back 6a36d2c526 first commit il y a 3 mois
docker-compose.yaml 6a36d2c526 first commit il y a 3 mois
nginx.conf 6a36d2c526 first commit il y a 3 mois
poetry.lock a2dd412c72 update il y a 3 mois
pyproject.toml b433faff9e update il y a 3 mois
r2r.toml a2dd412c72 update il y a 3 mois
r2r.toml.back 6a36d2c526 first commit il y a 3 mois
sources.list 6a36d2c526 first commit il y a 3 mois

README.md

Docs Discord Github Stars Commits-per-week

r2r

Containerized, state of the art 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, configurable GraphRAG, and comprehensive user and document management.

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

Key Features

What's New

  • Release 3.3.0    December 3, 2024    

Warning: These changes are breaking!

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
  • Setup: Learn how to setup and configure R2R
  • API & SDKs: API reference and Python/JS SDKs for interacting with R2R

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