Spaces:
Runtime error
Runtime error
Update chatbot.py
Browse files- 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:
|