Skip to content

Tags: instructor-ai/instructor-go

Tags

0.2.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add openai strict (structured outputs) mode (#38)

* init

* update from fork

* add openai strict (structured outputs) mode

* revert reciept

* strict mode working

* fix strict mode example

* add example to readme

* update readme dropdowns

* add openai api key to running readme

* g co vision/receipt/main.go

---------

Co-authored-by: Robby <h0rv@users.noreply.github.com>

0.2.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
count all usage from all retries and failures (#29)

* Count all usage from failures to unmarshal and validate json

* usage counting: move provider-specific logic into provider chat files

0.2.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Validation Support (#26)

* instructor validator

* update simple example

* validate in stream

* add with validator option

* add example for validator

* update example

* rename withValidator varible to validate

* rename with validator to withValidation

* remove required param for WithValidation

---------

Co-authored-by: Robby <h0rv@users.noreply.github.com>

0.2.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Cohere Support (#24)

* x

* Add Cohere Support

---------

Co-authored-by: Robby <h0rv@users.noreply.github.com>

0.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: API (#23)

* start refactor

* examples working again

* fix examples in readme and docs

---------

Co-authored-by: Robby <h0rv@users.noreply.github.com>

0.1.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Example Images (#21)

Co-authored-by: Robby <h0rv@users.noreply.github.com>

0.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Cleanup and Update Generic API (#17)

* update api

* update readme

---------

Co-authored-by: Robby <h0rv@users.noreply.github.com>