Replies: 1 comment
-
I could reproduce this issue. It seems like the combination of optional outputs and looping pipelines confuses the |
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.
-
I am using
AmazonBedrockChatGenerator
to be able to use Claude models. As result my prompt builder component is aDynamicChatPromptBuilder
.As a runtime variable I am defining
invalid_replies
anderror_message
to guide the prompt in order to fix errors if there are any. Theif
condition is stated in a Jinja template in the prompt.When I connect the
OutputValidator
outputs toruntime_variables
, the pipeline outputs:{}
. However when there is no loop and I initialize theruntime_variables
explicitly in thedata
argument ofrun
and break the loop, my pipeline works.Haystack version: 2.1.2
Below is the code:
Output:
Output without Loop:
Beta Was this translation helpful? Give feedback.
All reactions