-
-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple files pipeline #391
Comments
I have been trying for a long time to get around this error when having a pipeline with more than one file. I have been unable to figure it out. Have you had any luck figuring out an alternative? |
Hello, I have the same problem and would like to know how to resolve it. Would it be necessary to submit a feature request to the repository https://github.com/open-webui/open-webuito address this issue? |
The below code is confirmed and working for automatically downloading, deploying and importing additional source files:
Simply put it in your main Pipeline file. You can also automate it to get the sources from a local host. Hope this helps! |
Hello,
I am creating larger RAG pipeline, with multiple classes and I would like to split them into multiple code files for better readability and also for future other pipelines that will use some of the same classes (like connection to DB etc.).
But I can't upload such pipeline to open-webui. I tired to split my pipeline into files with each class, save them into one directory in /pipelines/my_big_pipeline/ openwebui docker image and upload main pipeline file with Pipeline class by openweb-ui interface or by adding it to /pipelines directory with imports from /pipelines/my_big_pipeline/ classes. But it isn't working, I am keep getting error:
WARNING:root:No Pipeline class found in main_pipeline
Error loading module: main_pipeline
Anyone was trying something like this and knows the solution to this problem?
The text was updated successfully, but these errors were encountered: