Instructor

Latest version: v1.7.2

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 14

1.4.2

What's Changed
* Fixed typo in the installation command by ivanleomk in https://github.com/jxnl/instructor/pull/983
* Adding support for O1 by ivanleomk in https://github.com/jxnl/instructor/pull/991
* fix: handle whitespace in json streams by mrdkucher in https://github.com/jxnl/instructor/pull/995
* Bumping the version of instructor to 1.4.2 by ivanleomk in https://github.com/jxnl/instructor/pull/992
* Fixing blog typo for post "Should I Be Using Structured Outputs?" by kwilsonmg in https://github.com/jxnl/instructor/pull/993

New Contributors
* mrdkucher made their first contribution in https://github.com/jxnl/instructor/pull/995
* kwilsonmg made their first contribution in https://github.com/jxnl/instructor/pull/993

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.4.1...1.4.2

1.4.1

What's Changed
* Correct small typos on Structured Output post by ivanleomk in https://github.com/jxnl/instructor/pull/945
* Modified Conclusion of Structured Outputs Post by ivanleomk in https://github.com/jxnl/instructor/pull/950
* Bugfix: Literal while streaming does not work by roeybc in https://github.com/jxnl/instructor/pull/948
* Helping fix some Gemini errors by ivanleomk in https://github.com/jxnl/instructor/pull/955
* skip test if version less than 3.10 by sreeprasannar in https://github.com/jxnl/instructor/pull/944
* Adding support for multi-modal file input for Vertex AI by smwitkowski in https://github.com/jxnl/instructor/pull/947
* Fix Issues by ivanleomk in https://github.com/jxnl/instructor/pull/966
* feat: gemini tool calling support by ssonal in https://github.com/jxnl/instructor/pull/726
* fix: ensure that utf-8 characters are not translated into \uXXXX format by ivanleomk in https://github.com/jxnl/instructor/pull/965
* See if refusal attribute exists in ChatCompletionMessage before referencing it by callmephilip in https://github.com/jxnl/instructor/pull/962
* Fixed up a warning for the relevant clients by ivanleomk in https://github.com/jxnl/instructor/pull/974
* Fix: Bump version for Jiter by paulelliotco in https://github.com/jxnl/instructor/pull/964
* Change Gemini to use Tools by default by ivanleomk in https://github.com/jxnl/instructor/pull/981

New Contributors
* roeybc made their first contribution in https://github.com/jxnl/instructor/pull/948
* sreeprasannar made their first contribution in https://github.com/jxnl/instructor/pull/944
* smwitkowski made their first contribution in https://github.com/jxnl/instructor/pull/947
* callmephilip made their first contribution in https://github.com/jxnl/instructor/pull/962
* paulelliotco made their first contribution in https://github.com/jxnl/instructor/pull/964

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.4.0...1.4.1

1.4.0

What's Changed
* Fix debug log exception in retry_async by mattheath in https://github.com/jxnl/instructor/pull/884
* Formatted Docs by ivanleomk in https://github.com/jxnl/instructor/pull/864
* Anthropic IncompleteOutputException was never triggered for tools and JSON modes by palako in https://github.com/jxnl/instructor/pull/848
* Fix for Flaky Test Issue 853 by DonovanAD in https://github.com/jxnl/instructor/pull/891
* revise prompt design docs [zero-shot] by shreya-51 in https://github.com/jxnl/instructor/pull/865
* Corrected some typos. by atbradley in https://github.com/jxnl/instructor/pull/905
* Pyright Errors by ivanleomk in https://github.com/jxnl/instructor/pull/900
* Update 4-validation.ipynb by ashkanrdn in https://github.com/jxnl/instructor/pull/932
* Fix typo in handle_response_model (anthropic system message): responsd -> respond by timlod in https://github.com/jxnl/instructor/pull/904
* Remove Async Validation in process async by ivanleomk in https://github.com/jxnl/instructor/pull/933
* Adding support for structured outputs by ivanleomk in https://github.com/jxnl/instructor/pull/938
* Update vertexai.md fix typo by lawrencecchen in https://github.com/jxnl/instructor/pull/943
* Resolve duplicate test function name by noxan in https://github.com/jxnl/instructor/pull/894

New Contributors
* mattheath made their first contribution in https://github.com/jxnl/instructor/pull/884
* palako made their first contribution in https://github.com/jxnl/instructor/pull/848
* DonovanAD made their first contribution in https://github.com/jxnl/instructor/pull/891
* atbradley made their first contribution in https://github.com/jxnl/instructor/pull/905
* ashkanrdn made their first contribution in https://github.com/jxnl/instructor/pull/932
* timlod made their first contribution in https://github.com/jxnl/instructor/pull/904
* lawrencecchen made their first contribution in https://github.com/jxnl/instructor/pull/943

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.3.7...1.4.0

1.3.7

What's Changed
* Moved Cohere import by ivanleomk in https://github.com/jxnl/instructor/pull/874


**Full Changelog**: https://github.com/jxnl/instructor/compare/1.3.6...1.3.7

1.3.5

What's Changed
* prompting docs by shreya-51 in https://github.com/jxnl/instructor/pull/786
* Fixed up an example for RAR and RE2 by ivanleomk in https://github.com/jxnl/instructor/pull/790
* Added an index page by ivanleomk in https://github.com/jxnl/instructor/pull/791
* fix: async from_litellm by adrienbrault in https://github.com/jxnl/instructor/pull/783
* Update maybe.md by r41ng3l in https://github.com/jxnl/instructor/pull/781
* Update usage.md 'constructor usage list' command documentation by r41ng3l in https://github.com/jxnl/instructor/pull/770
* Add prompting docs tests by jxnl in https://github.com/jxnl/instructor/pull/794
* docs: typo fix by rishabgit in https://github.com/jxnl/instructor/pull/795
* Add explicit check for jsonref dep in vertexai client import guard by lemontheme in https://github.com/jxnl/instructor/pull/797
* Fixed up Self-Ask Example by ivanleomk in https://github.com/jxnl/instructor/pull/792
* Added some new prompt techniques by ivanleomk in https://github.com/jxnl/instructor/pull/809
* prompt docs by shreya-51 in https://github.com/jxnl/instructor/pull/793
* Validate anthropic_tool function args as json by woodbridge in https://github.com/jxnl/instructor/pull/779
* Fix: Resolve create_model() TypeError in Partial class by slavakurilyak in https://github.com/jxnl/instructor/pull/801
* add client parameter to instructor.Intructions by bhomass in https://github.com/jxnl/instructor/pull/814
* Added new techniques by ivanleomk in https://github.com/jxnl/instructor/pull/810
* prompt docs by shreya-51 in https://github.com/jxnl/instructor/pull/813
* render gpt4o url by rshah713 in https://github.com/jxnl/instructor/pull/826
* skeleton of thought prompting doc by shreya-51 in https://github.com/jxnl/instructor/pull/824
* Bugfix: enable anthropic streaming support with partials by ssonal in https://github.com/jxnl/instructor/pull/825
* docs(examples, navigation): add local classification tutorial and update navigation by jxnl in https://github.com/jxnl/instructor/pull/830
* sg_icl prompting doc by shreya-51 in https://github.com/jxnl/instructor/pull/829
* Synthetic Data Notebook by ivanleomk in https://github.com/jxnl/instructor/pull/839
* feat: add blog post and example script for extracting YouTube video chapters using OpenAI models by jxnl in https://github.com/jxnl/instructor/pull/831
* Added COSP by ivanleomk in https://github.com/jxnl/instructor/pull/823
* Fixed up Max Mutual information example by ivanleomk in https://github.com/jxnl/instructor/pull/842
* Added support for Anthropic system parameter by ivanleomk in https://github.com/jxnl/instructor/pull/833
* knn prompting doc by shreya-51 in https://github.com/jxnl/instructor/pull/845
* Fixed up additional functionality for the batch job article by ivanleomk in https://github.com/jxnl/instructor/pull/843
* Fixed up new pydantic version by ivanleomk in https://github.com/jxnl/instructor/pull/847
* Bump Tenacity Version by ivanleomk in https://github.com/jxnl/instructor/pull/851

New Contributors
* adrienbrault made their first contribution in https://github.com/jxnl/instructor/pull/783
* r41ng3l made their first contribution in https://github.com/jxnl/instructor/pull/781
* woodbridge made their first contribution in https://github.com/jxnl/instructor/pull/779
* slavakurilyak made their first contribution in https://github.com/jxnl/instructor/pull/801
* bhomass made their first contribution in https://github.com/jxnl/instructor/pull/814
* rshah713 made their first contribution in https://github.com/jxnl/instructor/pull/826

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.3.4...1.3.5

1.3.4

What's Changed
* typo fix and rephrasing suggestion by lukaskf in https://github.com/jxnl/instructor/pull/756
* Fix the link to use the cloudflare docs by ivanleomk in https://github.com/jxnl/instructor/pull/753
* Updated the Documentation by ivanleomk in https://github.com/jxnl/instructor/pull/751
* Fixed Cohere retries by ionflow in https://github.com/jxnl/instructor/pull/761
* Added Vertex AI JSON Mode by ajac-zero in https://github.com/jxnl/instructor/pull/750
* Fix heading indentation in the getting started section of the docs by RensDimmendaal in https://github.com/jxnl/instructor/pull/744
* Anthropic client. Prevent empty generator when streaming by lemontheme in https://github.com/jxnl/instructor/pull/728
* Add Gemini via OpenAI Client Support Documentation by bllchmbrs in https://github.com/jxnl/instructor/pull/736
* rename batch to bulk/async, to avoid confusion with OpenAI's batch APIs by avyfain in https://github.com/jxnl/instructor/pull/765
* Disabling Pydantic Error by ivanleomk in https://github.com/jxnl/instructor/pull/757
* feat: add support for typeddicts by ivanleomk in https://github.com/jxnl/instructor/pull/758
* feat: prompt engineering cookbooks by shreya-51 in https://github.com/jxnl/instructor/pull/764
* feat: new cli for batch jobs by ivanleomk in https://github.com/jxnl/instructor/pull/754
* zero-shot prompting docs by shreya-51 in https://github.com/jxnl/instructor/pull/780

New Contributors
* lukaskf made their first contribution in https://github.com/jxnl/instructor/pull/756
* RensDimmendaal made their first contribution in https://github.com/jxnl/instructor/pull/744
* avyfain made their first contribution in https://github.com/jxnl/instructor/pull/765

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.3.3...1.3.4

What's Changed
* typo fix and rephrasing suggestion by lukaskf in https://github.com/jxnl/instructor/pull/756
* Fix the link to use the cloudflare docs by ivanleomk in https://github.com/jxnl/instructor/pull/753
* Updated the Documentation by ivanleomk in https://github.com/jxnl/instructor/pull/751
* Fixed Cohere retries by ionflow in https://github.com/jxnl/instructor/pull/761
* Added Vertex AI JSON Mode by ajac-zero in https://github.com/jxnl/instructor/pull/750
* Fix heading indentation in the getting started section of the docs by RensDimmendaal in https://github.com/jxnl/instructor/pull/744
* Anthropic client. Prevent empty generator when streaming by lemontheme in https://github.com/jxnl/instructor/pull/728
* Add Gemini via OpenAI Client Support Documentation by bllchmbrs in https://github.com/jxnl/instructor/pull/736
* rename batch to bulk/async, to avoid confusion with OpenAI's batch APIs by avyfain in https://github.com/jxnl/instructor/pull/765
* Disabling Pydantic Error by ivanleomk in https://github.com/jxnl/instructor/pull/757
* feat: add support for typeddicts by ivanleomk in https://github.com/jxnl/instructor/pull/758
* feat: prompt engineering cookbooks by shreya-51 in https://github.com/jxnl/instructor/pull/764
* feat: new cli for batch jobs by ivanleomk in https://github.com/jxnl/instructor/pull/754
* zero-shot prompting docs by shreya-51 in https://github.com/jxnl/instructor/pull/780
* Updated Pyproject.toml to publish a new version of Instructor by ivanleomk in https://github.com/jxnl/instructor/pull/785

New Contributors
* lukaskf made their first contribution in https://github.com/jxnl/instructor/pull/756
* RensDimmendaal made their first contribution in https://github.com/jxnl/instructor/pull/744
* avyfain made their first contribution in https://github.com/jxnl/instructor/pull/765

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.3.3...1.3.4

Page 3 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.