shipfeedAI news, curated daily

00:33:02 CET
21 MAY00:33:02shipfeed
pull to refreshlast sync
Just in — 30 new
§ feed · storyline

Instructor v1.14.3

Instructor v1.14.3 releases completeness-based JSON validation for partial streaming, fixes stream object crashes in reask handlers, and corrects field constraint handling during streaming.

Jan 13 · · primary fetch1 sourceupdated Jan 13 ·

Added Completeness-based validation for Partial streaming - only validates JSON structures that are structurally complete (#1999) New `JsonCompleteness` class in `instructor/dsl/json_tracker.py` for tracking JSON completeness during streaming (#1999) Fixed Fixed Stream objects crashing reask handlers when using streaming with `max_retries > 1` (#1992) Field constraints (`min_length`, `max_length`, `ge`, `le`, etc.) now work correctly during streaming (#1999) Deprecated `PartialLiteralMixin` is now deprecated - completeness-based validation handles Literal/Enum types automatically (#1999) Full Changelog: https://github.com/567-labs/instructor/compare/v1.14.2...v1.14.3

read full article on github.com
§ sources1 publication · timeline below
  1. github.cominstructor v1.14.3primary