RAG systems
An assistant that first searches your own documents and then answers with references.
Retrieval-augmented generation (RAG) combines a language model with a search: for each question, matching passages are retrieved first, and the model writes its answer on that basis. (Source: Lewis et al.: Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, NeurIPS 2020)
Interactive example
Knowledge search over sample documents (RAG)
Sample documents of a fictional company – ask a question and we retrieve the most relevant passages.
Examples:
Ask a question to find matching passages in the sample documents.
Answer from the sources
Note: this is retrieval only. In a real system, a language model would phrase the answer from these sources.
What you gain
- Answers from your knowledge, not the internet
- Answers with a source
- New staff find rules by asking instead of searching folders