Installation
note
Ensure you have met the prerequisites before proceeding with the installation.
To install Rubra, follow these steps:
-
Clone the Rubra GitHub repository by running the following command in your terminal:
git clone https://github.com/sanjay920/rubra.git -
Change into the
rubradirectory:cd rubra -
Specify the models you want to give Rubra access to by editing the
llm-config.yamlfile. See LLM Configution instructions for more information. -
Pull the required Docker images and start Rubra
docker-compose pull && docker-compose up -d
After following these steps, Rubra should be successfully installed and running on your local machine.
You can access the Rubra UI by visiting http://localhost:8501 in your browser.
You can develop with Rubra backend by setting the OpenAI base URL to Rubra backend's URL. By default, Rubra backend runs on http://localhost:8000.
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/", api_key="abc")