Skip to content

Releases: instructor-ai/instructor-js

v1.5.0

16 Jun 23:20
1ff06f6
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v1.4.0

13 Jun 03:50
d17fefa
Compare
Choose a tag to compare

Minor Changes

  • #182 0a5bbd8 Thanks @roodboi! - update client types to better support non oai clients + updates to allow for passing usage properties into meta from non-oai clients
  • #177 - add new option for providing custom logger + add new option for retrying on any error

v1.3.0

17 May 17:09
f386ad7
Compare
Choose a tag to compare

Minor Changes

  • #176 6dd4255 Thanks @roodboi! - add ability to include usage from streams by teeing stream when option is present

  • #177 09f04d1 Thanks @roodboi! - add new option for providing custom logger
    add new option for retrying on any error

v1.2.1

21 Apr 03:14
187fb92
Compare
Choose a tag to compare

Patch Changes

v1.2.0

21 Apr 02:36
972d9ae
Compare
Choose a tag to compare

Minor Changes

  • #164 6942d65 Thanks @roodboi! - adding request option pass through + handling non validation errors a little bit better and not retrying if not validation error specifically

v1.1.2

20 Apr 02:39
224a0d1
Compare
Choose a tag to compare

Patch Changes

  • #162 287aa27 Thanks @roodboi! - add groq to supported providers - remove error on validation and warn instead so we dont fail if we are out of date on the mappings

v1.1.1

10 Apr 17:22
71c4581
Compare
Choose a tag to compare

Patch Changes

  • #157 c272342 Thanks @roodboi! - updates zod-stream dep to get control charachter filtering on teh raw stream

v1.1.0

07 Apr 04:05
8bd9648
Compare
Choose a tag to compare

Minor Changes

  • #153 76ef059 Thanks @roodboi! - updated client types to be more flexible - added tests for latest anthropic updates and llm-polyglot major

v1.0.0

26 Mar 16:04
7e56385
Compare
Choose a tag to compare

Major Changes

  • #144 d0275ff Thanks @roodboi! - updating all types to better support non openai clients - this changes some of the previously exported types and adds a few new ones

  • #125 c205286 Thanks @roodboi! - Updating zod-stream major and stream output types - this change moves the internal properties tacked onto the stream output from many _properties to one _meta object with the properties nested - this also adds explicit types so when used in ts projects it doesnt yell.

Minor Changes

  • #132 f65672c Thanks @roodboi! - adding meta to standard completions as well and including usage - also added more verbose debug logs and new provider specific transformers to handle discrepencies in various apis

v0.0.7

23 Feb 17:15
176ecc1
Compare
Choose a tag to compare

Patch Changes

  • #123 70d3874 Thanks @roodboi! - updating zod-stream/schema-stream to pick up on updates to enums and handling better defaults