Dropbox
17 min read

Engineering VP Josh Clemm on how we use knowledge graphs, MCP, and DSPy in Dash

Read Full Article

Summary

In this article, Josh Clemm discusses the technical architecture behind Dropbox Dash, focusing on the integration of knowledge graphs, retrieval methods, and the use of large language models (LLMs). The context engine is designed to aggregate and understand content from various third-party applications, enabling efficient search and retrieval. Clemm elaborates on the challenges of implementing multi-modal understanding and the trade-offs between indexed retrieval and federated retrieval. The article also highlights the role of DSPy in optimizing prompts for LLMs, aiming to enhance the relevance of retrieved information while managing token usage effectively.

Key Learnings

  • 1The architecture of Dropbox Dash leverages knowledge graphs to model relationships between various data sources, enhancing contextual understanding.
  • 2Indexed retrieval offers advantages in speed and access to company-wide connectors, but requires significant custom development and management of content freshness.
  • 3DSPy serves as a prompt optimization tool that improves the performance of LLMs in judging relevance, showcasing emergent behaviors that enhance retrieval accuracy.
  • 4The challenges of multi-modal content understanding necessitate advanced models capable of handling diverse data types, from text to images and videos.
  • 5Trade-offs between federated and indexed retrieval highlight the importance of pre-processing and the implications for system architecture and performance.

Who Should Read This

Senior AI Engineers designing large-scale retrieval systems using knowledge graphs and LLMs

Test Your Knowledge

?

What are the key advantages and disadvantages of indexed retrieval compared to federated retrieval in the context of Dropbox Dash?

?

How does the integration of knowledge graphs improve the contextual understanding of information within Dash?

?

What specific challenges does multi-modal content understanding present, and how are they addressed in the architecture of Dash?

?

In what ways does DSPy enhance the performance of LLMs, and what are the implications for prompt management at scale?

?

How does the choice of using a lexical index like BM25 impact the retrieval process and overall system performance?

Topics

Read Full Article at Dropbox

More articles about Large Language Models

Explore Large Language Models engineering →