mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-22 16:31:16 +00:00

* Feat: Fix recursive conversion in JsonSchemaValidator (autofix generated by ClaudeOpus). Modify the behaviour to build the error template in a single user_message instead of two separate. Modify the behaviour to only include latest message instead of full history (very costly if long looping pipeline) * Feat: Fix recursive conversion in JsonSchemaValidator (autofix generated by ClaudeOpus). Modify the behaviour to build the error template in a single user_message instead of two separate. Modify the behaviour to only include latest message instead of full history (very costly if long looping pipeline) * reno * fix test * Verify provided message contains JSON object to begin with * Minor detail --------- Co-authored-by: Vladimir Blagojevic <dovlex@gmail.com>
9 lines
348 B
YAML
9 lines
348 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Made JSON schema validator compatible with all LLM by switching error template handling to a single user message.
|
|
Also reduce cost by only including last error instead of full message history.
|
|
fixes:
|
|
- |
|
|
Fix recursive JSON type conversion in the schema validator to be less aggressive (no infinite recursion).
|