How Shortwave built an AI email executive assistant using RAG
Shortwave's attempts to turn users' email history into an actionable knowledge base using traditional search infrastructure were underwhelming, and the team wanted to unlock the full potential of LLMs to change how users interact with their inbox.
Traditional search infrastructure fell short for email knowledge retrieval, and multi-stage LLM call chain architectures proved impractical because they introduced data loss and errors at each stage, leading to low-quality responses.
Shortwave's AI assistant answers almost all questions within 3-5 seconds end-to-end across multiple LLM calls, vector DB lookups, and ML model inference steps.
Frequently asked questions
What did this team achieve with this AI workflow?
Shortwave's AI assistant answers almost all questions within 3-5 seconds end-to-end across multiple LLM calls, vector DB lookups, and ML model inference steps.
What tools did this team use?
GPT-4, Instructor, Pinecone, MS Marco MiniLM, ElasticSearch.
What results were reported?
End-to-end response latency: 3-5 seconds (source-reported, not independently verified).
What failed first in this deployment?
Traditional search infrastructure fell short for email knowledge retrieval, and multi-stage LLM call chain architectures proved impractical because they introduced data loss and errors at each stage, leading to low-qu…
How is this back office ops AI workflow structured?
User query received → Tool selection → Parallel tool data retrieval → Query reformulation → Parallel feature extraction → Semantic embedding search → Heuristics-based re-ranking → Cross-encoder re-ranking → Answer generation → Post-processing and output.