Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ from langchain.vectorstores import Chroma
|
|
8 |
from langchain.docstore.document import Document
|
9 |
from langchain.embeddings import HuggingFaceInstructEmbeddings
|
10 |
from langchain.chains.conversation.memory import ConversationBufferMemory
|
|
|
11 |
|
12 |
from langchain.chains.conversation.memory import ConversationEntityMemory
|
13 |
from langchain.chains.conversation.prompt import ENTITY_MEMORY_CONVERSATION_TEMPLATE
|
|
|
8 |
from langchain.docstore.document import Document
|
9 |
from langchain.embeddings import HuggingFaceInstructEmbeddings
|
10 |
from langchain.chains.conversation.memory import ConversationBufferMemory
|
11 |
+
from langchain.chains import RetrievalQAWithSourcesChain
|
12 |
|
13 |
from langchain.chains.conversation.memory import ConversationEntityMemory
|
14 |
from langchain.chains.conversation.prompt import ENTITY_MEMORY_CONVERSATION_TEMPLATE
|