Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ system_prompt = ChatPromptTemplate.from_messages([
|
|
| 26 |
("user", "{question}, {context}")
|
| 27 |
])
|
| 28 |
|
| 29 |
-
|
| 30 |
collection_name = "example_collection",
|
| 31 |
embedding_function = OpenAIEmbeddings(),
|
| 32 |
persist_directory = "./chroma_langchain_db", # Where to save data locally, remove if not neccesary
|
|
|
|
| 26 |
("user", "{question}, {context}")
|
| 27 |
])
|
| 28 |
|
| 29 |
+
vectorstore = Chroma(
|
| 30 |
collection_name = "example_collection",
|
| 31 |
embedding_function = OpenAIEmbeddings(),
|
| 32 |
persist_directory = "./chroma_langchain_db", # Where to save data locally, remove if not neccesary
|