mirror of
https://github.com/open-webui/pipelines
synced 2025-05-30 18:19:19 +00:00
fix(examples/llamaindex_ollama): move path to pvc
This commit is contained in:
parent
bc2aed9510
commit
307abf187a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user