Spaces:
Runtime error
Runtime error
Update app/main.py
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -10,7 +10,7 @@ from langchain_community.vectorstores import Chroma
|
|
10 |
from helper import retrieve_relevant_context, generate_response_with_context
|
11 |
|
12 |
# Load relevant API Keys
|
13 |
-
file_path = '
|
14 |
|
15 |
with open(file_path, 'r') as file:
|
16 |
api_keys = yaml.safe_load(file)
|
@@ -32,7 +32,7 @@ auth_token = auth_token
|
|
32 |
|
33 |
print("====account_sid:=====",account_sid)
|
34 |
# Define the persist directory
|
35 |
-
persist_directory = '
|
36 |
|
37 |
# Initialize the embeddings model
|
38 |
embedding_model = OpenAIEmbeddings()
|
|
|
10 |
from helper import retrieve_relevant_context, generate_response_with_context
|
11 |
|
12 |
# Load relevant API Keys
|
13 |
+
file_path = './Config/API_KEYS.yml'
|
14 |
|
15 |
with open(file_path, 'r') as file:
|
16 |
api_keys = yaml.safe_load(file)
|
|
|
32 |
|
33 |
print("====account_sid:=====",account_sid)
|
34 |
# Define the persist directory
|
35 |
+
persist_directory = './vector_db/chroma_v01'
|
36 |
|
37 |
# Initialize the embeddings model
|
38 |
embedding_model = OpenAIEmbeddings()
|