
Retrieval-augmented generation lets a language model answer questions about your own data, with references and quotes, and keeps it from making things up. John Sinderwing goes through the pitfalls that turn up in every industry and their solutions: questions over several sources at once, more tools and sub-queries such as internal databases, web search and API calls, different types of data, validating the output, and guardrails that keep the assistant off prohibited topics.


