Problem
GetYourGuide is a travel-experiences marketplace with more than 200,000 experiences. Travelers describe trips to chat assistants in free text mixing filters, preferences and exclusions. It must return two or three relevant activities within 10 to 15 seconds at a reasonable cost. Tuning prompts in a multi-step LLM workflow fixes new cases but silently breaks old ones.
Example from the article: "I'm heading to Tenerife next week with my wife and two kids. We want to see the volcano but avoid the cable car. Any guided hikes ... suitable for kids."
Solution in brief
A four-step agent (intent and memory, planner, retrieval plus LLM relevance check, drafter) sits on top of the existing search stack. Parallel API calls and routing by query complexity (full workflow, a small "nano" LLM filter, no LLM) keep it within the time target. A hand-built golden dataset of 816 cases runs in CI with pass@3, so prompt changes ship safely.
Questions this case answers
- How to answer natural-language requests that mix constraints, preferences and exclusions with a short, highly relevant list from a large catalog under a strict latency budget
- How to evaluate and regression-test a multi-step LLM workflow in CI when prompt changes fix one case and break others
- How to turn a free-text request with filters, preferences and exclusions into a relevant short list of items?
- How to keep an LLM search agent within 10 to 15 seconds and a reasonable cost?
Tools and methods
- Intent and memory step — rewrites query plus chat history into one query
- Planner — extracts up to 20 entities and routing flags
- Hybrid retrieval and ranker — BM25 plus semantic search, reranked
- LLM relevance filter — judges each of up to 20 candidates against the request
- Golden dataset with pass@k in CI — hand-built cases per step
- Braintrust — stores agent traces and CI datasets
Google or a one-time email code. No password.