mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-25 09:50:14 +00:00
8 lines
267 B
YAML
8 lines
267 B
YAML
![]() |
---
|
||
|
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.
|