Problem
Business data sits in many apps (email, documents, meeting notes, task tools) and in several formats. Finding one fact means switching between tools. Dropbox built Dash, a universal search and Q&A product, and needed answers that are accurate, fresh and fast enough that users do not click away. Simple questions need retrieval from one or more documents. Questions like "What's the progress on projects in my team's Q1 OKRs?" need several dependent steps that plain RAG cannot do.
Example from the article: for "Show me the notes for tomorrow's all-hands meeting", the system must resolve "tomorrow" to a date window, find the meeting by title in that window, and fetch its attached documents.
Solution in brief
Use RAG for single-lookup questions: a lexical index, chunking at query time and an embedding reranker, so over 95% of queries finish in under 2 seconds. For multi-step questions, an LLM writes a plan as code in a Python-like domain-specific language (DSL), and a minimal custom interpreter validates and runs it step by step.
Questions this case answers
- How to design a retrieval pipeline over fragmented, heterogeneous documents that keeps latency under a fixed budget while preserving answer quality
- How to let an LLM answer multi-step requests with a plan that can be validated, tested and executed safely
- How to choose a retrieval system for RAG over scattered work documents when most queries must finish in under 2 seconds?
- How to answer questions that need several steps, such as resolving a date, finding a meeting and fetching its notes?
Tools and methods
- RAG — retrieve content, then answer from it with an LLM
- Lexical index — traditional information retrieval (IR), first stage
- On-the-fly chunking — split documents at query time
- Embedding reranker — re-sorts the chunks
- LLM judges — score answer correctness and completeness
- Plan-and-execute agent — DSL code as the plan, run by a custom interpreter
Google or a one-time email code. No password.