FEA-Bench / testbed /deepset-ai__haystack /releasenotes /notes /conditional-routes-validation-b46fc506d35894d4.yaml
hc99's picture
Add files using upload-large-folder tool
ce676f7 verified
raw
history blame
267 Bytes
---
enhancements:
- |
Add output type validation in `ConditionalRouter`.
Setting `validate_output_type` to `True` will enable a check to verify if
the actual output of a route returns the declared type.
If it doesn't match a `ValueError` is raised.