ProfessorLeVesseur
commited on
Commit
•
9e4c45a
1
Parent(s):
abf2278
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ index_name = 'mimtssinkqa'
|
|
23 |
|
24 |
# Initialize the OpenAI embeddings object
|
25 |
from langchain_openai import OpenAIEmbeddings
|
26 |
-
embeddings = OpenAIEmbeddings(openai_api_key=
|
27 |
|
28 |
# LOAD VECTOR STORE FROM EXISTING INDEX
|
29 |
from langchain_community.vectorstores import Pinecone
|
|
|
23 |
|
24 |
# Initialize the OpenAI embeddings object
|
25 |
from langchain_openai import OpenAIEmbeddings
|
26 |
+
embeddings = OpenAIEmbeddings(openai_api_key=OPENAI_API_KEY)
|
27 |
|
28 |
# LOAD VECTOR STORE FROM EXISTING INDEX
|
29 |
from langchain_community.vectorstores import Pinecone
|