datacipen commited on
Commit
927cbbf
1 Parent(s): 03c5d73

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -11,7 +11,8 @@ from langchain.schema import StrOutputParser
11
  from operator import itemgetter
12
  from pinecone import Pinecone
13
  from langchain_pinecone import PineconeVectorStore
14
- from langchain.memory import ChatMessageHistory, ConversationBufferMemory
 
15
  from langchain.schema.runnable import Runnable, RunnablePassthrough, RunnableConfig, RunnableLambda
16
  from langchain.callbacks.base import BaseCallbackHandler
17
  from langchain.chains import ConversationalRetrievalChain
 
11
  from operator import itemgetter
12
  from pinecone import Pinecone
13
  from langchain_pinecone import PineconeVectorStore
14
+ from langchain_community.chat_message_histories import ChatMessageHistory
15
+ from langchain.memory import ConversationBufferMemory
16
  from langchain.schema.runnable import Runnable, RunnablePassthrough, RunnableConfig, RunnableLambda
17
  from langchain.callbacks.base import BaseCallbackHandler
18
  from langchain.chains import ConversationalRetrievalChain