Retrieval-augmented generation (RAG)
Searching for relevant text and adding it to the prompt so a model answers from those sources.
Retrieval-augmented generation (RAG) turns a closed-book exam into an open-book one.
See it in action
Try retrieval-augmented generation (rag) hands-on in the lesson Retrieval-augmented generation, part of the How AI assistants work course.