python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtdocker compose upBefore running the demo script, make sure you have set the OPENAI_API_KEY environment variable either via export or in a .env file.
# The first time, initialize the vector store
python demo.py --init-store
# Then, you can use the already initialized vector store
python demo.py
# If you want to use the LLM query engine on top of the vector search, use the following command
python demo.py --use-llm
# To explore the MariaDB table used as the backend of the vector store
mariadb -h 127.0.0.1 -u root -ptest test docker compose down