mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
parent
0e4c5dd176
commit
fdebd3e02f
@ -5,7 +5,7 @@ sidebar_position: 2
|
|||||||
# Store and reference chat history
|
# Store and reference chat history
|
||||||
The ConversationalRetrievalQA chain builds on RetrievalQAChain to provide a chat history component.
|
The ConversationalRetrievalQA chain builds on RetrievalQAChain to provide a chat history component.
|
||||||
|
|
||||||
It first combines the chat history (either explicitly passed in or retrieved from the provided memory) and the question into a standalone question, then looks up relevant documents from the retriever, and finally passes those documents and the question to a question answering chain to return a response.
|
It first combines the chat history (either explicitly passed in or retrieved from the provided memory) and the question into a standalone question, then looks up relevant documents from the retriever, and finally passes those documents and the question to a question-answering chain to return a response.
|
||||||
|
|
||||||
To create one, you will need a retriever. In the below example, we will create one from a vector store, which can be created from embeddings.
|
To create one, you will need a retriever. In the below example, we will create one from a vector store, which can be created from embeddings.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user