Logo
Explore Help
Register Sign In
yujunjun/haystack
1
0
Fork 0
You've already forked haystack
mirror of https://github.com/deepset-ai/haystack.git synced 2025-07-23 08:52:16 +00:00
Code Issues Packages Projects Releases Wiki Activity
haystack/releasenotes/notes/fix-recursive-json-schema-validator-cdb7684de3c75e4e.yaml

9 lines
348 B
YAML
Raw Normal View History

fix(JsonSchemaValidator): fix recursive loop and general LLM (claude, mistral...) compatibility (#7556) * 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>
2024-06-21 11:10:34 +02:00
---
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).
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 617ms Template: 28ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API