Simon Willison
condense-json 1.1 发布,新增非字符串替换值和对象合并功能,并引入基于 Hypothesis 的往返测试,提升与 LLM 集成的能力
AI 摘要
condense-json 1.1 发布,新增非字符串替换值和对象合并功能,并引入基于 Hypothesis 的往返测试,提升与 LLM 集成的能力。
推荐理由常规快讯,保留列表
原文
After shipping condense-json 1.0 I started integrating it into LLM, and found there were some desirable new features already:
Replacements object can now include values other than strings. These will be identified and used as structural replacements bycondense_json()anduncondense_json(). #8 Objects can be used as the basis for merge operations.condense_json()will identify if there are objects that are a close match and will store instructions for keys to update or delete.uncondense_json()can then apply these merges.
I also added some round-trip tests using the Hypothesis property-based Python testing library.
53/100
讨论
暂无评论。