Handy scripts to run and evaluate RAG systems.
uv venv
source .venv/bin/activate
uv pip install -e .
rag-toolkit leverages Elasticsearch for high-performance indexing and retrieval testing. To quickly set up Elasticsearch and Kibana in Docker for local development or testing, first:
curl -fsSL https://elastic.co/start-local | sh
the use this one-liner to spin up a local instance:
bash elastic-start-local/start.sh
Once the script finishes, it will generate an .env file containing your ES_LOCAL_URL and ES_LOCAL_API_KEY. rag-toolkit will automatically look for these variables to connect to your cluster.