Look up the right facts first, then let the model answer from them.
- ChunkSplit your documents into small passages.
- EmbedTurn each passage into a vector.
- StoreKeep the vectors in a vector database.
- RetrieveFind the passages closest to the question.
- AnswerThe model answers, citing those passages.
Explain 1/6
Source: LangChain: RAG concepts