Application
Learn how to set up and use the R2R Application for managing your instance.
R2R offers an open-source React+Next.js application designed to give developers an administrative portal for their R2R deployment, and users an application to communicate with out of the box.
In addition, R2R comes with an orchestration GUI powered by Hatchet, which you can learn about here.
Setup
Install PNPM
PNPM is a fast, disk space-efficient package manager. To install PNPM, visit the official PNPM installation page or follow these instructions:
Installing and Running the R2R Dashboard
If you’re running R2R with the Docker, you already have the R2R dashboard running! Just navigate to http://localhost:3000.
If you’re running R2R outside of Docker, run the following commands to install the R2R Dashboard.
- 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:
pnpm install
- Build and start the application for production:
pnpm build
pnpm start
The dashboard will be available at http://localhost:3000.
Features
Login
To interact with R2R with the dashboard, you must first login. If it’s your first time logging in, log in with the default credentials shown.
By default, an R2R instance is hosted on port 7272. The login page will include this URL by default, but be sure to update the URL if your R2R instance is deployed elsewhere. For information about deploying a local R2R application server, see the quickstart.
Documents
The documents page provides an overview of uploaded documents and their metadata. You can upload new documents and update or delete existing ones.
Playground
The playground allows streaming RAG responses with different models and configurable settings.
Logs
The Logs page enables tracking of user queries, search results, and LLM responses.
Settings
The settings page allows you to view the configuration of and edit the prompts associated with your R2R deployment.
Development
To develop the R2R dashboard:
- Start the development server:
pnpm dev
- Run pre-commit checks (optional but recommended):
pnpm format
pnpm lint
Was this page helpful?