Spaces:
Runtime error
Runtime error
Update processing.py
Browse files- processing.py +1 -1
processing.py
CHANGED
@@ -8,7 +8,7 @@ from langchain.chains import RetrievalQA
|
|
8 |
import os
|
9 |
|
10 |
# Initialize embeddings and FAISS index
|
11 |
-
embedding_model = OpenAIEmbeddings()
|
12 |
|
13 |
# Path to the knowledge files
|
14 |
knowledge_files = {
|
|
|
8 |
import os
|
9 |
|
10 |
# Initialize embeddings and FAISS index
|
11 |
+
embedding_model = OpenAIEmbeddings(openai_api_key)
|
12 |
|
13 |
# Path to the knowledge files
|
14 |
knowledge_files = {
|