datacipen commited on
Commit
d3dfb5b
1 Parent(s): afb76d7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -19,7 +19,8 @@ from langchain.chains.conversational_retrieval.prompts import CONDENSE_QUESTION_
19
  from langchain.chains.question_answering import load_qa_chain
20
  from langchain.chains.qa_with_sources import load_qa_with_sources_chain
21
  from langchain_pinecone import PineconeVectorStore
22
- from pinecone import Pinecone
 
23
  from langchain.memory import ChatMessageHistory, ConversationBufferMemory
24
  import pandas as pd
25
  import numpy as np
 
19
  from langchain.chains.question_answering import load_qa_chain
20
  from langchain.chains.qa_with_sources import load_qa_with_sources_chain
21
  from langchain_pinecone import PineconeVectorStore
22
+ #from pinecone import Pinecone
23
+ from pinecone.grpc import PineconeGRPC as Pinecone
24
  from langchain.memory import ChatMessageHistory, ConversationBufferMemory
25
  import pandas as pd
26
  import numpy as np