haystack/releasenotes/notes/prompt-builder-require-all-variables-007f87e9c7c89e8c.yaml
Sebastian Husch Lee eace2a99e5
feat: Add Literal["*"] option to required_variables in ChatPrompBuilder and PromptBuilder (#8572)
* Add new option for required_variables in PromptBuilder and ChatPromptBuilder

* Add reno note

* Add tests
2024-11-22 16:27:50 +01:00

6 lines
233 B
YAML

---
features:
- |
Added a new option to the required_variables parameter to the PromptBuilder and ChatPromptBuilder.
By passing `required_variables="*"` you can automatically set all variables in the prompt to be required.