Quickstart
Start with Vibranium Dome
Setup
The project has multiple components, the easiest way to start is by using Docker Compose or Helm Charts.
OpenSearch requires max virtual memory areas vm.max_map_count
to be 262144
, and in some environments it’s 65530
, so check first and apply workaround to make sure it’s the correct value.
Run first:
docker run -u root -it opensearchproject/opensearch:2.9.0 bash -c "cat /proc/sys/vm/max_map_count"
if that command return 65530
, run that command to increase it temporarily:
docker run --rm --privileged alpine sysctl -w vm.max_map_count=262144
and run again the previos command to make sure the new value set to 262144
docker run -u root -it opensearchproject/opensearch:2.9.0 bash -c "cat /proc/sys/vm/max_map_count"
OpenSearch on Linux machine need to change the owner of the filesystem volumes, so run:
mkdir vibraniumdome-opensearch/vibraniumdome-opensearch-data1
mkdir vibraniumdome-opensearch/vibraniumdome-opensearch-data2
sudo chown -R 1000:1000 vibraniumdome-opensearch/vibraniumdome-opensearch-data1
sudo chown -R 1000:1000 vibraniumdome-opensearch/vibraniumdome-opensearch-data2
Set OPENAI_API_KEY
environment variable in environment file, you can generate one here
Clone the repository
git clone https://github.com/genia-dev/vibraniumdome
Change directory to vibraniumdome
cd vibraniumdome
Start the project
With docker-compose: docker-compose up
; With Helm: helm install test-release helm/
Open The Application
Navigate to Vibranium-App
admin@admin.com
and password: admin
. You can change it here.The previous command of docker-compose up
use existing docker images in docker-hub, if you would like to modify & build the project from source locally, you can run the docker-compose in build mode by:
Analyze your first LLM interaction
Analyze LLM Interactions by streamlit app
After you run the the whole system like in the above instructions, navigate to VibraniumDome-Streamlit-App.
In the left pane of the streamlit app in the Environment Variables
section you need to configure the OpenAI API Key.
The Streamlit app, by default, uses http://localhost:5001 for the Vibranium Dome Base URL (optional)
. You can change this to point to a different URL.
Now you can chat in the app, and see the results in Vibranium-App.
Analyze LLM Interactions by code
Install the Vibranium Dome SDK
Create demo application with the OLD OpenAI SDK in main.py
Create demo application with the NEW OpenAI SDK in main.py
VIBRANIUM_DOME_API_KEY
; If not provided, it used the default one defined in VibraniumDome SystemRun the demo application
Navigate to Vibranium-App to see the results.
VIBRANIUM_DOME_BASE_URL
(default: http://localhost:5001)