Building a context-sensitive AI assistant with RAG: Lessons from building Vectorize's in-product documentation assistant
Vectorize users had to leave the product UI to visit the docs site, creating disruptive context-switching, while the in-product Intercom chat was not always staffed and some users were reluctant to ask for help.
Vectorize built a context-sensitive AI assistant embedded directly in the product UI, powered by a self-improving multi-source RAG pipeline.
Topic-aware retrieval and reranking improved response quality, and anti-hallucination prompting prevented the LLM from fabricating answers.
Frequently asked questions
What did this team achieve with this AI workflow?
Vectorize built a context-sensitive AI assistant embedded directly in the product UI, powered by a self-improving multi-source RAG pipeline.
What tools did this team use?
Vectorize, Groq, Llama 3.1 70B, React, reranking model, Discord, Intercom.
What results were reported?
Retrieval response quality: really improved the quality of the responses; LLM inference speed: lightning fast; Inference cost: lower cost (source-reported, not independently verified).
How is this customer support AI workflow structured?
User clicks Ask AI in UI → Multi-source RAG pipeline ingestion → Topic-prefixed retrieval query → Reranking and relevance filtering → LLM generates answer → Response delivered in chat window → User thumbs feedback to analytics.