Open Iodine98 opened 5 months ago
The ConversationalRetrievalChain from Langchain has been deprecated.
ConversationalRetrievalChain
This is to be rewritten as described on the page Add chat history
It concerns these lines of code:
https://github.com/Iodine98/dora-back/blob/ef44bc69930edc6f91497e55163afde73ecd0590/chatdoc/chatbot.py#L33-L55
Add to this issue: only return source documents if threshold is met and documents are actually used in answer.
The
ConversationalRetrievalChain
from Langchain has been deprecated.This is to be rewritten as described on the page Add chat history