Replies: 1 comment
-
So I was able to figure this out (I think). And it works! i just created a filter and changed the model to whichever pipeline I want to run. I will use an LLM to decide on the pipeline. Here is the code if anyone was wondering the same: ` class Pipeline:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been working on creating multiple pipelines/workflows (really amazing feature) and was wondering if its possible to let a filter decide which pipeline to forward the chat to instead of having to select the pipeline from the model list every time?
I understand I can use a filter to intercept a request sent from the frontend but how do I pass it to a specific pipeline? Is it as simple as modifying the "model" parameter in the request body to the pipeline that I want to forward the request to?
Beta Was this translation helpful? Give feedback.
All reactions