new component: Jinja2Builder
#6608
Labels
2.x
Related to Haystack v2.0
P2
Medium priority, add to the next sprint if no P1 available
type:feature
New feature or request
Is your feature request related to a problem? Please describe.
The
PromptBuilder
component has proven useful in other use cases than just building prompts, but adding aPromptBuilder
(say) after a generator, solves several use cases but feels like a hack.Describe the solution you'd like
I would like to have a component that generically builds strings using Jinja2 templates, pretty much the same features as the
PromptBuilder
just with a different semantic so it doesn't look like a hack anymoreDescribe alternatives you've considered
Using the
PromptBuilder
to not building promptsAdditional context
This new component shouldn't replace
PromptBuilder
that has a clear purpose in Haystack's pipelines. It should be a new thing.The text was updated successfully, but these errors were encountered: