aditag commited on
Commit
6b339ed
·
verified ·
1 Parent(s): 2e5ea38

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +1 -1
chatbot.py CHANGED
@@ -50,7 +50,7 @@ class ChatBot():
50
  region="us-east-1"
51
  ))
52
 
53
- docsearch = langchain_community.vectorstores.Pinecone.from_documents(self.docs, embeddings, index_name=index_name)
54
  else:
55
  # Embed the documents
56
  if self.execute:
 
50
  region="us-east-1"
51
  ))
52
 
53
+ self.docsearch = langchain_community.vectorstores.Pinecone.from_documents(self.docs, embeddings, index_name=index_name)
54
  else:
55
  # Embed the documents
56
  if self.execute: