Elastic builds a RAG-based knowledge library to power the Elastic Support Assistant
Elastic's LLM foundational training was insufficient for technically deep product questions; the knowledge base was split across Swiftype and Appsearch instances creating tech debt; and most ingested documents lacked the summaries needed for effective semantic search.
Fine-tuning a custom model was explored and rejected because it required question-answer pairing that did not match the existing data set. Using the first 280 characters of each document as a summary led to poor search relevancy. Passing larger text passages as context to the LLM decreased accuracy.
Elastic built a knowledge library with vector embeddings for more than 300,000 documents and over 128,000 AI-generated summaries averaging 8 questions each, representing a 10x improvement for semantic search results and enabling the Support Assistant to answer a much broader range of questions.
Show all 8 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Elastic built a knowledge library with vector embeddings for more than 300,000 documents and over 128,000 AI-generated summaries averaging 8 questions each, representing a 10x improvement for semantic search results a…
What tools did this team use?
Elasticsearch, ELSER, OpenAI GPT3.5 Turbo, Crawlee, Google Cloud Run, EUI Markdown Editor, BM25.
What results were reported?
Documents in knowledge library with vector embeddings: more than 300,000; AI-generated summaries: over 128,000; AI-generated questions per document: average of 8; Semantic search improvement: 10x improvement (source-reported, not independently verified).
What failed first in this deployment?
Fine-tuning a custom model was explored and rejected because it required question-answer pairing that did not match the existing data set.
How is this customer support AI workflow structured?
Support articles ingested into Elasticsearch → Crawlee ingests product docs and blogs → ELSER enriches documents with embeddings → GPT backfills summaries and questions → User asks question to Support Assistant → Hybrid search retrieves relevant context → LLM synthesizes answer for user.