examples/blog/bandits-in-your-llm-gateway/README.md
This folder contains the code for the blog post Bandits in your LLM Gateway. 1
Make sure you have the following environment variables set:
export ANTHROPIC_API_KEY=your_api_key_here
docker compose run --rm gateway --run-postgres-migrations
docker compose up
This will start:
Once the services are running, execute the experiment script:
uv run main.py
This will:
We build off of the CoNLL++ dataset and work from Predibase for the problem setting. ↩