Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

r2r

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r2r

SciPhi R2R

  • 3.3.29
  • PyPI
  • Socket score

Maintainers
1
r2r

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

Sign up · Self Host


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

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

  • 📁 Multimodal Ingestion: Support for over 26 files types, including .txt, .pdf, .json, .png, .mp3, and more.
  • 🔍 Hybrid Search: Combine semantic and keyword search with reciprocal rank fusion for enhanced relevancy.
  • 🔗 Knowledge Graphs: Automatically extract entities and relationships, build knowledge graphs, and run GraphRAG.
  • 🗂️ User Management: Efficiently manage documents and user roles within R2R.
  • 🔭 Observability: Observe and analyze your RAG engine performance.
  • 🧩 Configuration: Setup your application using intuitive configuration files.
  • 🖥️ Dashboard: An open-source React+Next.js admin dashboard to interact with R2R via GUI.

Getting Started

SciPhi Cloud

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc