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
Is your feature request related to a problem? Please describe.
Let's say that I have a pipeline like:
TextGeneration() >>ProcessGeneration()
TextGeneration will add a generation to the output dictionary, but if the LLM fails the generation will contain None.ProcessGeneration.inputs are ["generation"], but as TextGeneration can produce None values, ProcessGeneration will have to handle None values. This applies to all the Steps, which is a bit cumbersome.
Describe the solution you'd like _StepWrapper could check the inputs columns of the Step and check that the input dictionaries contain non-None values for these keys (Step.inputs). If they do, then these dictionaries are not passed to the Step and imputed.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Let's say that I have a pipeline like:
TextGeneration
will add ageneration
to the output dictionary, but if theLLM
fails thegeneration
will containNone
.ProcessGeneration.inputs
are["generation"]
, but asTextGeneration
can produceNone
values,ProcessGeneration
will have to handleNone
values. This applies to all theStep
s, which is a bit cumbersome.Describe the solution you'd like
_StepWrapper
could check the inputs columns of theStep
and check that the input dictionaries contain non-None
values for these keys (Step.inputs
). If they do, then these dictionaries are not passed to theStep
and imputed.The text was updated successfully, but these errors were encountered: