Skip to content

Commit

Permalink
fix(examples/llamaindex_ollama): move path to pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
aschaber1 committed Jun 29, 2024
1 parent bc2aed9 commit 307abf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pipelines/rag/llamaindex_ollama_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def on_startup(self):
# 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

Expand Down

0 comments on commit 307abf1

Please sign in to comment.