Update app.py
Browse files
app.py
CHANGED
@@ -197,7 +197,9 @@ embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key)
|
|
197 |
|
198 |
# LOAD VECTOR STORE FROM EXISTING INDEX
|
199 |
from langchain_community.vectorstores import Pinecone
|
200 |
-
|
|
|
|
|
201 |
vector_store = Pinecone.from_existing_index(index_name='mimtssinkqa', embedding=embeddings)
|
202 |
|
203 |
# def ask_with_memory(vector_store, query, chat_history=[]):
|
|
|
197 |
|
198 |
# LOAD VECTOR STORE FROM EXISTING INDEX
|
199 |
from langchain_community.vectorstores import Pinecone
|
200 |
+
|
201 |
+
import pinecone
|
202 |
+
|
203 |
vector_store = Pinecone.from_existing_index(index_name='mimtssinkqa', embedding=embeddings)
|
204 |
|
205 |
# def ask_with_memory(vector_store, query, chat_history=[]):
|