mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 01:55:22 -04:00
Llama index pipeline not working #120
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @moophlo on GitHub (Sep 12, 2024).
Hello guys,
I understand that the examples doesn't need to be perfect, but at least working. They're meant to be a trace to implement more stuff but how can be a starting point be broken?
None of the lama index rag pipelines install properly. I've two suggestions, first is to have all the examples working and installable, the second is to build a database of trusted pipelines which are verified and safe to be installed
@wabbajack1 commented on GitHub (Sep 20, 2024):
I encountered an issue where the
pipelinesfunction is required. Specifically, when loading models, the code expects apipelinesfunction to exist and be callable.The relevant error trace is:
File "/app/main.py", line 216, in load_modules_from_directory PIPELINES = get_all_pipelines()
File "/app/main.py", line 53, in get_all_pipelines if callable(pipeline.pipelines):
As you can see, the
pipelinesfunction is called usingcallable, but the interface or documentation for this is unclear.Proposed Solution
To resolve this, I suggest implementing a
pipelinesfunction (for self.id="pipe") in the module as shown below:When this is not working, change the id to "manifold".
This needs to be fixed, the interface is not consistent in docs and implementation.....