mirror of
https://github.com/open-webui/pipelines
synced 2025-06-26 18:15:58 +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.
|
# This function is called when the server is started.
|
||||||
global documents, index
|
global documents, index
|
||||||
|
|
||||||
self.documents = SimpleDirectoryReader("./data").load_data()
|
self.documents = SimpleDirectoryReader("/app/backend/data").load_data()
|
||||||
self.index = VectorStoreIndex.from_documents(self.documents)
|
self.index = VectorStoreIndex.from_documents(self.documents)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user