-
Install
uv:curl -LsSf https://astral.sh/uv/install.sh | sh -
Install all development dependencies to a new virtual environment:
uv sync --group lint
-
Set up your environment variables:
cp .env.example .env
Then edit
.envand add e.g. your OpenAI API key.
Create the vector database and fill it with the text embeddings for search:
uv run rag-doctor create-databaseNow you can query the documentation from the command line:
uv run rag-doctor query --database_dir="./qdrant_data" --question="what is a dataset?"Or start an interactive chat session:
uv run rag-doctor chat --database_dir="./qdrant_data"If you want to enable debugging logging, set the DEBUG environment variable:
DEBUG=1 uv run ...