fix(examples/llamaindex_ollama): move path to pvc

This commit is contained in:
Alexander Schaber
2024-06-29 01:54:39 +02:00
parent bc2aed9510
commit 307abf187a

View File

@@ -51,7 +51,7 @@ class Pipeline:
# This function is called when the server is started.
global documents, index
self.documents = SimpleDirectoryReader("./data").load_data()
self.documents = SimpleDirectoryReader("/app/backend/data").load_data()
self.index = VectorStoreIndex.from_documents(self.documents)
pass