Search⌘ K
AI Features

Requirements of the RAG-Powered Support Assistant API

Explore how to define requirements for a RAG-powered support assistant API. You’ll distinguish document ingestion from question answering, specify knowledge bases, citations, streaming, follow-up context, feedback, authorization, freshness, reliability, latency, scalability, and cost controls, while setting clear scope boundaries.

A RAG-powered support assistant helps users find answers to product questions using information from documentation, troubleshooting guides, release notes, and other approved sources. It combines retrieval-augmented generation (RAG) with conversational interactions to generate answers groundedThe extent to which an answer’s claims are supported by the retrieved evidence. in relevant documents. Supporting these interactions requires an API that manages searchable knowledge, retrieves information users are authorized to access, and delivers answers with supporting citations.

In this chapter, we’ll design an API for a support assistant that allows organizations to ingest documents, keep their knowledge sources updated, and answer customer questions. Our API will support two connected workflows: an ingestion workflow that prepares documents for search and a query workflow that retrieves relevant evidence and uses it to generate an answer. ...