Instructor

Latest version: v1.7.4

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

Scan your dependencies

Page 3 of 14

1.5.0

What's Changed
* doc: add newsletter link by jxnl in https://github.com/jxnl/instructor/pull/1012
* Updated Caching concepts to update prompt by ivanleomk in https://github.com/jxnl/instructor/pull/998
* Expand litellm anthropic compatibility by JohanBekker in https://github.com/jxnl/instructor/pull/958
* feat: implement jinja templating and rename kwarg to `context` by jxnl in https://github.com/jxnl/instructor/pull/1011
* Fixed new templating feature throwing an error for gemini by ivanleomk in https://github.com/jxnl/instructor/pull/1021
* Added new Response Body article by ivanleomk in https://github.com/jxnl/instructor/pull/1024
* Fixed up poetry dependencies and google gemini bug with jinja templating by ivanleomk in https://github.com/jxnl/instructor/pull/1023
* Bump version to 1.5 by ivanleomk in https://github.com/jxnl/instructor/pull/1028

New Contributors
* JohanBekker made their first contribution in https://github.com/jxnl/instructor/pull/958

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.4.3...1.5.0

1.4.3

What's Changed
* Fixed up a new article for prompt caching by ivanleomk in https://github.com/jxnl/instructor/pull/997
* fix(rag-and-beyond.md): Formatting by PLNech in https://github.com/jxnl/instructor/pull/1006
* chore(exact_citations.md): Fix punctuation (extra . after a !) by PLNech in https://github.com/jxnl/instructor/pull/1004
* Fixed up failing test cases for partial parsing by ivanleomk in https://github.com/jxnl/instructor/pull/1001
* Bump Anthropic Version by ivanleomk in https://github.com/jxnl/instructor/pull/1002
* test: add partial parsing check by mrdkucher in https://github.com/jxnl/instructor/pull/1007
* Tentative Fix for Mistral Fix by ivanleomk in https://github.com/jxnl/instructor/pull/985
* Fixed up support for list content types when used with Gemini by ivanleomk in https://github.com/jxnl/instructor/pull/999

New Contributors
* PLNech made their first contribution in https://github.com/jxnl/instructor/pull/1006

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

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

Page 3 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.