Vibeleaderboard
← All Intel
Intel / article

How we used DSPy to turn AI evaluations into better responses in Dash chat

Source
dropbox.tech
Publisher
Dropbox
Author
Ilya Yakovlev,Andrew Cheung,Binoy Dash,Simran Jumani,Dmitriy Meyerzon
Date

Context

Dropbox improved Dash chat's prompts in two stages: first calibrating the AI evaluators against human judgments, then using those evaluators to guide changes to the chat agent. The evaluators inspect the agent's searches, and supporting evidence as well as its final answer. Dropbox's account describes using DSPy, a prompt-optimization framework, to connect those evaluations to proposed revisions.

Candidate prompts are replayed on representative historical internal chats, making recurring failures available as feedback for the next revision. Dropbox reports a 26% reduction in incomplete answers within the first 24 hours of launch. That is a company-reported short-window result; the reusable mechanism is testing prompt changes against realistic interactions with evaluators already checked against people.

Terms in this piece · Glossary
  • tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
  • grounding — Tying a model's answers to checkable sources — retrieved documents, live data, tool results — instead of letting it answer from memory alone.
  • system prompt — The standing instructions a model receives before any user input — defining its role, rules, tools, and tone for the whole conversation.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source dropbox.tech
Recommended reads