Installation
Before proceeding with the installation, ensure you have met the prerequisites.
Follow these steps to install Rubra:
-
Clone the Rubra GitHub repository by executing the following command in your terminal:
git clone https://github.com/rubra-ai/rubra.git
-
Navigate into the
rubra
directory:cd rubra
-
(Optional) Define the models you want Rubra to access by modifying
llm-config.yaml
. Refer to LLM Configuration instructions for more details. Additionally, you can add or remove LLMs in the Rubra UI after installation. -
Pull the necessary images and start Rubra:
docker-compose pull && docker-compose up -d
After completing these steps, Rubra should be successfully installed and running on your local machine.
Access the Rubra UI by visiting http://localhost:8501 in your browser.
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")