You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 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: