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
{{ message }}
Repository navigation
ConditionalRouter for next component selection with multiple variables
#9361
I'm trying to create a pipeline where one of the input variables defines which component to use next (for example which Generator).
I've been able to achieve this with the ConditionalRouter where I can define for example:
However I cannot figure out how to pass multiple variables through the ConditionalRouter (other than just the prompt in this example), like for example some generation parameters (temp, max_tokens, ...).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm trying to create a pipeline where one of the input variables defines which component to use next (for example which Generator).
I've been able to achieve this with the ConditionalRouter where I can define for example:
And then have the relevant outputs (prompts) be connected to the desired component
However I cannot figure out how to pass multiple variables through the ConditionalRouter (other than just the prompt in this example), like for example some generation parameters (temp, max_tokens, ...).
This is similar to rhajou's question: #7585 (reply in thread)
Best and thanks
All reactions