---
title: "Beyond the Menu Tree: How Yelp Built a Smarter Customer Success Chatbot with AI"
description: "Yelp replaced a menu-tree and fixed-phrase customer support chatbot with an LLM system."
url: "https://swe.quest/articles/beyond-the-menu-tree-how-yelp-built-a-smarter-customer-success-chatbot-with-ai-ff3ace4643697f19"
canonical: "https://engineeringblog.yelp.com/2026/05/beyond-menu-tree.html"
source: "Yelp Engineering"
published: "2026-05-27"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["rag","llms","vector-search","system-design"]
---

# Beyond the Menu Tree: How Yelp Built a Smarter Customer Success Chatbot with AI

A post on [Yelp Engineering](https://swe.quest/sources/yelp.md), published 2026-05-27, 7 min read, Case study. Original: [https://engineeringblog.yelp.com/2026/05/beyond-menu-tree.html](https://engineeringblog.yelp.com/2026/05/beyond-menu-tree.html)

## Summary

Yelp replaced a menu-tree and fixed-phrase customer support chatbot with an LLM system. It routes each query to one of five workflows (QA, Billing, Refund, Cancel, Review), and high-risk intents get templated responses. The QA path retrieves whole Support Center articles, about 370 of them, without chunking. Retrieval runs against a vectorstore built only from article metadata: each title, summary and top header is embedded separately with text-embedding-ada-002, because embedding whole articles diluted the semantic signal and small chunks produced false matches. The roughly 8 MB index is loaded in memory with FAISS, rebuilt daily from S3, and retrieves the top 5 articles with a similarity threshold, reaching about 94% recall@5. Generated answers pass trust-and-safety, link-provenance and length checks to catch hallucinated URLs, and the system doubled the resolution rate in an A/B test.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Vector search](https://swe.quest/tags/vector-search.md) (Data & databases)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- text embeddings ([easy posts on RAG & retrieval](https://swe.quest/tags/rag.md?difficulty=easy))
- retrieval-augmented generation basics
- vector similarity search ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))

## Keywords

FAISS, text-embedding-ada-002, AWS S3, Yelp

## Related posts

- [From Static Help Content to a RAG-Based Onboarding Agent for Partners](https://swe.quest/articles/from-static-help-content-to-a-rag-based-onboarding-agent-for-partners-c0de8cedba3db499.md): Booking.com Data Science · 2026-10-19 · Medium · 9 min read · RAG & retrieval, AI agents, Evaluation, LLMs
  Booking.com's registration-flow chatbot for self-managed partners gave weak answers even though retrieval surfaced the right documents, and the cause turned out to be upstream data quality rather than the model.
- [Building AI Search on Heroku](https://swe.quest/articles/building-ai-search-on-heroku-fdce052b7ed2fc31.md): Heroku Engineering · 2026-01-29 · Medium · 3 min read · RAG & retrieval, Vector search, PostgreSQL, Search, LLMs
  A reference RAG architecture on Heroku pairs pgvector cosine-similarity search (top 20 chunks) with a cross-encoder reranker (Cohere Rerank 3.5, top 5), so answers come from documents that actually address the query rather than ones that are merely semantically close.
- [Context engineering case studies: Etsy-specific question answering](https://swe.quest/articles/context-engineering-case-studies-etsy-specific-question-answering-ff89774f7981cc63.md): Etsy Code as Craft · 2025-08-19 · Medium · 11 min read · RAG & retrieval, LLMs, Evaluation
  Etsy tested whether prompt engineering over embedding-based retrieval, without fine-tuning, could reliably answer Etsy-specific questions.
- [Building Data-Aware AI Applications with Heroku AI and LlamaIndex](https://swe.quest/articles/building-data-aware-ai-applications-with-heroku-ai-and-llamaindex-8f85403b0aabecc2.md): Heroku Engineering · 2025-08-19 · Medium · 4 min read · RAG & retrieval, Vector search, PostgreSQL, Python, LLMs
  A RAG stack on Heroku pairs LlamaIndex for ingestion, indexing and retrieval with Heroku Managed Inference (Claude 4 Sonnet via an OpenAI-compatible API), Cohere Embed Multilingual for embeddings, and Heroku Postgres with pgvector as the vector store.
- [How Etsy Uses LLMs to Improve Search Relevance](https://swe.quest/articles/how-etsy-uses-llms-to-improve-search-relevance-3911d99788b5bd04.md): Etsy Code as Craft · 2026-01-16 · Medium · 10 min read · Search, LLMs, Evaluation, Model training, E-commerce
  Etsy built an LLM-powered semantic relevance framework that complements engagement signals, which favor popular listings, with judgments of how well listings match query intent across three classes: relevant, partially relevant and irrelevant.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
