Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def rag_retriever(message, history, system_prompt, num_sources=4, temperature=0)
|
|
14 |
|
15 |
base_dir = os.path.dirname(os.path.abspath(__file__))
|
16 |
db_path = os.path.join(base_dir, 'chroma.sqlite3')
|
17 |
-
store = Chroma(persist_directory=
|
18 |
|
19 |
prompt_template = ChatPromptTemplate.from_messages([
|
20 |
("system", system_prompt+"""
|
|
|
14 |
|
15 |
base_dir = os.path.dirname(os.path.abspath(__file__))
|
16 |
db_path = os.path.join(base_dir, 'chroma.sqlite3')
|
17 |
+
store = Chroma(persist_directory='/home/user/app', embedding_function=embeddings, collection_name='ai_act')
|
18 |
|
19 |
prompt_template = ChatPromptTemplate.from_messages([
|
20 |
("system", system_prompt+"""
|