Releases: instructor-ai/instructor
Releases Β· instructor-ai/instructor
1.5.0
What's Changed
- doc: add newsletter link by @jxnl in #1012
- Updated Caching concepts to update prompt by @ivanleomk in #998
- Expand litellm anthropic compatibility by @JohanBekker in #958
- feat: implement jinja templating and rename kwarg to
context
by @jxnl in #1011 - Fixed new templating feature throwing an error for gemini by @ivanleomk in #1021
- Added new Response Body article by @ivanleomk in #1024
- Fixed up poetry dependencies and google gemini bug with jinja templating by @ivanleomk in #1023
- Bump version to 1.5 by @ivanleomk in #1028
New Contributors
- @JohanBekker made their first contribution in #958
Full Changelog: 1.4.3...1.5.0
1.4.3
What's Changed
- Fixed up a new article for prompt caching by @ivanleomk in #997
- fix(rag-and-beyond.md): Formatting by @PLNech in #1006
- chore(exact_citations.md): Fix punctuation (extra . after a !) by @PLNech in #1004
- Fixed up failing test cases for partial parsing by @ivanleomk in #1001
- Bump Anthropic Version by @ivanleomk in #1002
- test: add partial parsing check by @mrdkucher in #1007
- Tentative Fix for Mistral Fix by @ivanleomk in #985
- Fixed up support for list content types when used with Gemini by @ivanleomk in #999
New Contributors
Full Changelog: 1.4.2...1.4.3
1.4.2
What's Changed
- Fixed typo in the installation command by @ivanleomk in #983
- Adding support for O1 by @ivanleomk in #991
- fix: handle whitespace in json streams by @mrdkucher in #995
- Bumping the version of instructor to 1.4.2 by @ivanleomk in #992
- Fixing blog typo for post "Should I Be Using Structured Outputs?" by @kwilsonmg in #993
New Contributors
- @mrdkucher made their first contribution in #995
- @kwilsonmg made their first contribution in #993
Full Changelog: 1.4.1...1.4.2
1.4.1
What's Changed
- Correct small typos on Structured Output post by @ivanleomk in #945
- Modified Conclusion of Structured Outputs Post by @ivanleomk in #950
- Bugfix: Literal while streaming does not work by @roeybc in #948
- Helping fix some Gemini errors by @ivanleomk in #955
- skip test if version less than 3.10 by @sreeprasannar in #944
- Adding support for multi-modal file input for Vertex AI by @smwitkowski in #947
- Fix Issues by @ivanleomk in #966
- feat: gemini tool calling support by @ssonal in #726
- fix: ensure that utf-8 characters are not translated into \uXXXX format by @ivanleomk in #965
- See if refusal attribute exists in ChatCompletionMessage before referencing it by @callmephilip in #962
- Fixed up a warning for the relevant clients by @ivanleomk in #974
- Fix: Bump version for Jiter by @paulelliotco in #964
- Change Gemini to use Tools by default by @ivanleomk in #981
New Contributors
- @roeybc made their first contribution in #948
- @sreeprasannar made their first contribution in #944
- @smwitkowski made their first contribution in #947
- @callmephilip made their first contribution in #962
- @paulelliotco made their first contribution in #964
Full Changelog: 1.4.0...1.4.1
1.4.0
What's Changed
- Fix debug log exception in retry_async by @mattheath in #884
- Formatted Docs by @ivanleomk in #864
- Anthropic IncompleteOutputException was never triggered for tools and JSON modes by @palako in #848
- Fix for Flaky Test Issue #853 by @DonovanAD in #891
- revise prompt design docs [zero-shot] by @shreya-51 in #865
- Corrected some typos. by @atbradley in #905
- Pyright Errors by @ivanleomk in #900
- Update 4-validation.ipynb by @ashkanrdn in #932
- Fix typo in handle_response_model (anthropic system message): responsd -> respond by @timlod in #904
- Remove Async Validation in process async by @ivanleomk in #933
- Adding support for structured outputs by @ivanleomk in #938
- Update vertexai.md fix typo by @lawrencecchen in #943
- Resolve duplicate test function name by @noxan in #894
New Contributors
- @mattheath made their first contribution in #884
- @palako made their first contribution in #848
- @DonovanAD made their first contribution in #891
- @atbradley made their first contribution in #905
- @ashkanrdn made their first contribution in #932
- @timlod made their first contribution in #904
- @lawrencecchen made their first contribution in #943
Full Changelog: 1.3.7...1.4.0
1.3.7
1.3.5
What's Changed
- prompting docs by @shreya-51 in #786
- Fixed up an example for RAR and RE2 by @ivanleomk in #790
- Added an index page by @ivanleomk in #791
- fix: async from_litellm by @adrienbrault in #783
- Update maybe.md by @r41ng3l in #781
- Update usage.md 'constructor usage list' command documentation by @r41ng3l in #770
- Add prompting docs tests by @jxnl in #794
- docs: typo fix by @rishabgit in #795
- Add explicit check for jsonref dep in vertexai client import guard by @lemontheme in #797
- Fixed up Self-Ask Example by @ivanleomk in #792
- Added some new prompt techniques by @ivanleomk in #809
- prompt docs by @shreya-51 in #793
- Validate anthropic_tool function args as json by @woodbridge in #779
- Fix: Resolve create_model() TypeError in Partial class by @slavakurilyak in #801
- add client parameter to instructor.Intructions by @bhomass in #814
- Added new techniques by @ivanleomk in #810
- prompt docs by @shreya-51 in #813
- render gpt4o url by @rshah713 in #826
- skeleton of thought prompting doc by @shreya-51 in #824
- Bugfix: enable anthropic streaming support with partials by @ssonal in #825
- docs(examples, navigation): add local classification tutorial and update navigation by @jxnl in #830
- sg_icl prompting doc by @shreya-51 in #829
- Synthetic Data Notebook by @ivanleomk in #839
- feat: add blog post and example script for extracting YouTube video chapters using OpenAI models by @jxnl in #831
- Added COSP by @ivanleomk in #823
- Fixed up Max Mutual information example by @ivanleomk in #842
- Added support for Anthropic system parameter by @ivanleomk in #833
- knn prompting doc by @shreya-51 in #845
- Fixed up additional functionality for the batch job article by @ivanleomk in #843
- Fixed up new pydantic version by @ivanleomk in #847
- Bump Tenacity Version by @ivanleomk in #851
New Contributors
- @adrienbrault made their first contribution in #783
- @r41ng3l made their first contribution in #781
- @woodbridge made their first contribution in #779
- @slavakurilyak made their first contribution in #801
- @bhomass made their first contribution in #814
- @rshah713 made their first contribution in #826
Full Changelog: 1.3.4...1.3.5
1.3.4
What's Changed
- typo fix and rephrasing suggestion by @lukaskf in #756
- Fix the link to use the cloudflare docs by @ivanleomk in #753
- Updated the Documentation by @ivanleomk in #751
- Fixed Cohere retries by @ionflow in #761
- Added Vertex AI JSON Mode by @ajac-zero in #750
- Fix heading indentation in the getting started section of the docs by @RensDimmendaal in #744
- Anthropic client. Prevent empty generator when streaming by @lemontheme in #728
- Add Gemini via OpenAI Client Support Documentation by @bllchmbrs in #736
- rename batch to bulk/async, to avoid confusion with OpenAI's batch APIs by @avyfain in #765
- Disabling Pydantic Error by @ivanleomk in #757
- feat: add support for typeddicts by @ivanleomk in #758
- feat: prompt engineering cookbooks by @shreya-51 in #764
- feat: new cli for batch jobs by @ivanleomk in #754
- zero-shot prompting docs by @shreya-51 in #780
New Contributors
- @lukaskf made their first contribution in #756
- @RensDimmendaal made their first contribution in #744
- @avyfain made their first contribution in #765
Full Changelog: 1.3.3...1.3.4
What's Changed
- typo fix and rephrasing suggestion by @lukaskf in #756
- Fix the link to use the cloudflare docs by @ivanleomk in #753
- Updated the Documentation by @ivanleomk in #751
- Fixed Cohere retries by @ionflow in #761
- Added Vertex AI JSON Mode by @ajac-zero in #750
- Fix heading indentation in the getting started section of the docs by @RensDimmendaal in #744
- Anthropic client. Prevent empty generator when streaming by @lemontheme in #728
- Add Gemini via OpenAI Client Support Documentation by @bllchmbrs in #736
- rename batch to bulk/async, to avoid confusion with OpenAI's batch APIs by @avyfain in #765
- Disabling Pydantic Error by @ivanleomk in #757
- feat: add support for typeddicts by @ivanleomk in #758
- feat: prompt engineering cookbooks by @shreya-51 in #764
- feat: new cli for batch jobs by @ivanleomk in #754
- zero-shot prompting docs by @shreya-51 in #780
- Updated Pyproject.toml to publish a new version of Instructor by @ivanleomk in #785
New Contributors
- @lukaskf made their first contribution in #756
- @RensDimmendaal made their first contribution in #744
- @avyfain made their first contribution in #765
Full Changelog: 1.3.3...1.3.4
1.3.3
What's Changed
- refactor(simple_type, ModelAdapter): update type checking and refactor model creation by @jxnl in #710
- Fix response UnboundError when request fails and custom
tenacity.Retrying
is used by @lazyhope in #713 - [fixes #721] Switch away from Anthropic beta interface for tools. by @lemontheme in #723
- Add Support for VertexAI Gemini by @ajac-zero in #711
- async gemini support by @Cruppelt in #719
- fix: parallel unions by @vinchg in #734
- typo fix document_segmentation.md by @NicolaiLolansen in #730
- Sync
pyproject.toml
andpoetry.lock
files by @jlondonobo in #729 - Added Jiter Support by @ivanleomk in #745
- Iterable Workaround by @ivanleomk in #737
New Contributors
- @lemontheme made their first contribution in #723
- @ajac-zero made their first contribution in #711
- @vinchg made their first contribution in #734
- @NicolaiLolansen made their first contribution in #730
Full Changelog: 1.3.2...1.3.3
1.3.2
What's Changed
- Adding gpt4o vision example by @karbon0x in #702
- Fixed incorrect/missing arguments by @Elektra58 in #708
- Fixed incorrect argument by @Elektra58 in #707
- Fixed a typo by @yasoob in #705
- restore async groq functionality by @cmishra in #704
- Improve gemini model robustness by @ssonal in #701
New Contributors
- @karbon0x made their first contribution in #702
- @Elektra58 made their first contribution in #708
- @yasoob made their first contribution in #705
- @cmishra made their first contribution in #704
Full Changelog: 1.3.1...1.3.2