haystack/releasenotes/notes/prompt-builder-require-all-variables-007f87e9c7c89e8c.yaml

6 lines
233 B
YAML
Raw Normal View History

---
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.