![r2r](https://private-user-images.githubusercontent.com/68796651/361081117-b6ee6a78-5d37-496d-ae10-ce18eee7a1d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NzQ3NjgsIm5iZiI6MTczODk3NDQ2OCwicGF0aCI6Ii82ODc5NjY1MS8zNjEwODExMTctYjZlZTZhNzgtNWQzNy00OTZkLWFlMTAtY2UxOGVlZTdhMWQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDAwMjc0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllY2YyNjI4NWRiZDMzODVkYjg3MzdhZDFhYTM2ODliNDI4NzVjZjlmNTQ0MGI5YWViM2U0NDNiZjg1NzZkNzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.SsDlSflCCk269a4x8jcQnfBQ5DeaHVo3zZBFZw3FXl8)
The R2R Dashboard is an open-source React+Next.js application designed to provide R2R developers with an easy interface to interact with their pipelines. This dashboard aims to reduce development and iteration time by offering a user-friendly environment.
- 🗂️ Document Management: Upload, update, and delete documents and their metadata.
- 🛝 Playground: Stream RAG responses with different models and configurable settings.
- 📊 Analytics: View aggregate statistics around latencies and metrics with detailed histograms.
- 📜 Logs: Track user queries, search results, and LLM responses.
- 🔧 Development Tools: Easily start a development server, format code, and run lint checks.
PNPM is a fast, disk space-efficient package manager that helps you manage your project dependencies. To install PNPM, visit the official PNPM installation page for the latest instructions, or follow the instructions outlined below:
PNPM Installation
For Unix-based systems (Linux, macOS):
curl -fsSL https://get.pnpm.io/install.sh | sh -
For Windows:
iwr https://get.pnpm.io/install.ps1 -useb | iex
After installing PNPM, you may need to add it to your system's PATH. Follow the instructions provided on the PNPM installation page to ensure it's properly set up.
-
Clone the project repository and navigate to the project directory:
git clone [email protected]:SciPhi-AI/R2R-Application.git cd R2R-Application
-
Install the project dependencies using PNPM:
pnpm install
-
Build and start the application for production:
pnpm build pnpm start
This will build the application on port 3000. After pnpm start
runs successfully, the dashboard can be viewed at http://localhost:3000.
If you'd like to develop the R2R dashboard, you can do so by starting a development server:
-
Start the development server:
pnpm dev
-
Pre-commit checks (optional but recommended):
Ensure your code is properly formatted and free of linting issues before committing:
pnpm format pnpm lint
- R2R Dashboard: A how-to guide on connecting with the R2R Dashboard.
- R2R Demo: A basic demo script designed to get you started with an R2R RAG application.
- R2R Client-Server: An extension of the basic
R2R Demo
with client-server interactions. - Local RAG: A quick cookbook demonstration of how to run R2R with local LLMs.
- Hybrid Search: A brief introduction to running hybrid search with R2R.
- Reranking: A short guide on how to apply reranking to R2R results.
- SciPhi Cloud Docs: SciPhi Cloud documentation.
The R2R Dashboard is a comprehensive tool designed to streamline the management and monitoring of Retrieval-Augmented Generation (RAG) pipelines built with the R2R framework. By providing a user-friendly interface and robust core features, the dashboard helps developers efficiently interact with their RAG systems, enhancing development and operational workflows.
The R2R Dashboard is a comprehensive tool designed to streamline the management and monitoring of Retrieval-Augmented Generation (RAG) pipelines built with the R2R framework. By providing a user-friendly interface and robust core features, the dashboard helps developers efficiently interact with their RAG systems, enhancing development and operational workflows.