Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new component: Jinja2Builder #6608

Closed
masci opened this issue Dec 21, 2023 · 1 comment
Closed

new component: Jinja2Builder #6608

masci opened this issue Dec 21, 2023 · 1 comment
Assignees
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

Comments

@masci
Copy link
Contributor

masci commented Dec 21, 2023

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 a PromptBuilder (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 anymore

Describe alternatives you've considered

Using the PromptBuilder to not building prompts

Additional context

This new component shouldn't replace PromptBuilder that has a clear purpose in Haystack's pipelines. It should be a new thing.

@masci masci added 2.x Related to Haystack v2.0 type:feature New feature or request labels Dec 21, 2023
@masci masci added the P2 Medium priority, add to the next sprint if no P1 available label Jan 24, 2024
@masci
Copy link
Contributor Author

masci commented Feb 9, 2024

Superseded by #6936

@masci masci closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants