Dropbox brings AI-powered summarization and Q&A to web file previews using Riviera and LLMs
Knowledge workers suffer from information overload and need to understand large documents, videos, and other files without reading them in full or remembering exactly how content was worded or where it was located within a file.
An earlier summary-of-summaries (map-reduce) approach repeated information across individual summaries, caused significant loss of overall file content, and compounded hallucination risk with each additional LLM call. The initial version also did not cache embeddings, resulting in redundant LLM calls for the same document.
After optimization, cost-per-summary dropped by 93% and cost-per-query dropped by 64%.
P75 latency for summaries decreased from 115 seconds to 4 seconds, and p75 latency for queries decreased from 25 seconds to 5 seconds, making the feature more affordable and more responsive for users.
Show all 7 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
After optimization, cost-per-summary dropped by 93% and cost-per-query dropped by 64%.
What tools did this team use?
Riviera, LLMs, k-means clustering.
What results were reported?
Cost-per-summary reduction: 93%; Cost-per-query reduction: 64%; P75 summary latency: from 115 seconds to 4 seconds; P75 query latency: from 25 seconds to 5 seconds (source-reported, not independently verified).
What failed first in this deployment?
An earlier summary-of-summaries (map-reduce) approach repeated information across individual summaries, caused significant loss of overall file content, and compounded hallucination risk with each additional LLM call.
How is this back office ops AI workflow structured?
File preview triggers AI request → Riviera extracts text from file → Paragraph-level embedding generation → K-means clustering for summarization → Similarity-based chunk retrieval for Q&A → LLM generates response with follow-up questions → Output returned with source references.