Instructor

Latest version: v1.7.2

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

Scan your dependencies

Page 4 of 14

1.3.3

What's Changed
* refactor(simple_type, ModelAdapter): update type checking and refactor model creation by jxnl in https://github.com/jxnl/instructor/pull/710
* Fix response UnboundError when request fails and custom `tenacity.Retrying` is used by lazyhope in https://github.com/jxnl/instructor/pull/713
* [fixes 721] Switch away from Anthropic beta interface for tools. by lemontheme in https://github.com/jxnl/instructor/pull/723
* Add Support for VertexAI Gemini by ajac-zero in https://github.com/jxnl/instructor/pull/711
* async gemini support by Cruppelt in https://github.com/jxnl/instructor/pull/719
* fix: parallel unions by vinchg in https://github.com/jxnl/instructor/pull/734
* typo fix document_segmentation.md by NicolaiLolansen in https://github.com/jxnl/instructor/pull/730
* Sync `pyproject.toml` and `poetry.lock` files by jlondonobo in https://github.com/jxnl/instructor/pull/729
* Added Jiter Support by ivanleomk in https://github.com/jxnl/instructor/pull/745
* Iterable Workaround by ivanleomk in https://github.com/jxnl/instructor/pull/737

New Contributors
* lemontheme made their first contribution in https://github.com/jxnl/instructor/pull/723
* ajac-zero made their first contribution in https://github.com/jxnl/instructor/pull/711
* vinchg made their first contribution in https://github.com/jxnl/instructor/pull/734
* NicolaiLolansen made their first contribution in https://github.com/jxnl/instructor/pull/730

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

1.3.2

What's Changed
* Adding gpt4o vision example by karbon0x in https://github.com/jxnl/instructor/pull/702
* Fixed incorrect/missing arguments by Elektra58 in https://github.com/jxnl/instructor/pull/708
* Fixed incorrect argument by Elektra58 in https://github.com/jxnl/instructor/pull/707
* Fixed a typo by yasoob in https://github.com/jxnl/instructor/pull/705
* restore async groq functionality by cmishra in https://github.com/jxnl/instructor/pull/704
* Improve gemini model robustness by ssonal in https://github.com/jxnl/instructor/pull/701

New Contributors
* karbon0x made their first contribution in https://github.com/jxnl/instructor/pull/702
* Elektra58 made their first contribution in https://github.com/jxnl/instructor/pull/708
* yasoob made their first contribution in https://github.com/jxnl/instructor/pull/705
* cmishra made their first contribution in https://github.com/jxnl/instructor/pull/704

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.3.1...1.3.2

1.3.1

What's Changed
* Fix typos in README.md by AmgadHasan in https://github.com/jxnl/instructor/pull/699
* Fix failure checking for "google.generativeai' import spec by dbmikus in https://github.com/jxnl/instructor/pull/698

New Contributors
* AmgadHasan made their first contribution in https://github.com/jxnl/instructor/pull/699
* dbmikus made their first contribution in https://github.com/jxnl/instructor/pull/698

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.3.0...1.3.1

1.3.0

What's Changed
* Update groq.md by frankbaele in https://github.com/jxnl/instructor/pull/651
* Added gpt-4o to model costs and model names by st4r0 in https://github.com/jxnl/instructor/pull/671
* Update Groq documentation and examples to use preferred patching method by NasonZ in https://github.com/jxnl/instructor/pull/663
* anthropic force tool by Cruppelt in https://github.com/jxnl/instructor/pull/681
* maybe results typo fix by rbraddev in https://github.com/jxnl/instructor/pull/686
* Parea Blogpost by joschkabraun in https://github.com/jxnl/instructor/pull/673
* Fix typo in philosophy.md by deeplook in https://github.com/jxnl/instructor/pull/677
* Update mode.py to warn in `Mode.FUNCTIONS` access vs. in `__new__` by boydgreenfield in https://github.com/jxnl/instructor/pull/678
* Fix handling of snapshot_ids ("gpt-4-turbo-2024-04-09" and "gpt-4o-2024-05-13") and alias "gpt-4-turbo". by st4r0 in https://github.com/jxnl/instructor/pull/672
* Update ollama.md by MeDott29 in https://github.com/jxnl/instructor/pull/635
* Fixed up discord link by ivanleomk in https://github.com/jxnl/instructor/pull/690
* Enrich IncompleteOutputException with completion context by lukszamarcin in https://github.com/jxnl/instructor/pull/683
* Anthropic streaming support by ssonal in https://github.com/jxnl/instructor/pull/682
* results rename by rbraddev in https://github.com/jxnl/instructor/pull/692
* Updates to Parea blog by joschkabraun in https://github.com/jxnl/instructor/pull/695
* Fix typo in blog by joschkabraun in https://github.com/jxnl/instructor/pull/696
* Update `Mode.MD_JSON` and add `Provider.DATABRICKS` by arcaputo3 in https://github.com/jxnl/instructor/pull/691
* Add basic support for gemini models by ssonal in https://github.com/jxnl/instructor/pull/684

New Contributors
* frankbaele made their first contribution in https://github.com/jxnl/instructor/pull/651
* st4r0 made their first contribution in https://github.com/jxnl/instructor/pull/671
* NasonZ made their first contribution in https://github.com/jxnl/instructor/pull/663
* rbraddev made their first contribution in https://github.com/jxnl/instructor/pull/686
* deeplook made their first contribution in https://github.com/jxnl/instructor/pull/677
* lukszamarcin made their first contribution in https://github.com/jxnl/instructor/pull/683
* ssonal made their first contribution in https://github.com/jxnl/instructor/pull/682
* arcaputo3 made their first contribution in https://github.com/jxnl/instructor/pull/691

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.2.6...1.3.0

1.2.6

What's Changed
* Import typing related imports only when type checking by noxan in https://github.com/jxnl/instructor/pull/645
* New Logfire Article ( Fixes 640 ) by ivanleomk in https://github.com/jxnl/instructor/pull/647
* Updated the Logfire and Fastapi article by ivanleomk in https://github.com/jxnl/instructor/pull/648
* [docs] index watsonx example by h0rv in https://github.com/jxnl/instructor/pull/642
* doc: Update self_critique.md by sgrimee in https://github.com/jxnl/instructor/pull/652
* fix: Update llama-cpp-python examples to use `patch` instead of `from_openai` by abetlen in https://github.com/jxnl/instructor/pull/656

New Contributors
* noxan made their first contribution in https://github.com/jxnl/instructor/pull/645
* sgrimee made their first contribution in https://github.com/jxnl/instructor/pull/652
* abetlen made their first contribution in https://github.com/jxnl/instructor/pull/656

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.2.5...1.2.6

1.2.5

What's Changed
* feat: add watsonx support by h0rv in https://github.com/jxnl/instructor/pull/620
* Implement Pyright for Type-Checking by max-muoto in https://github.com/jxnl/instructor/pull/630
* Enable PyUpgrade Ruff Rule-Set by max-muoto in https://github.com/jxnl/instructor/pull/633
* Avoid deprecated class property stacking by max-muoto in https://github.com/jxnl/instructor/pull/637
* Instructor with Logfire by ivanleomk in https://github.com/jxnl/instructor/pull/639
* ANTHROPIC_JSON: allow control characters in JSON strings if strict=False by voberoi in https://github.com/jxnl/instructor/pull/644
* Allow newer Pydantic patch versions by bencrouse in https://github.com/jxnl/instructor/pull/643

New Contributors
* h0rv made their first contribution in https://github.com/jxnl/instructor/pull/620
* max-muoto made their first contribution in https://github.com/jxnl/instructor/pull/630
* voberoi made their first contribution in https://github.com/jxnl/instructor/pull/644
* bencrouse made their first contribution in https://github.com/jxnl/instructor/pull/643

**Full Changelog**: https://github.com/jxnl/instructor/compare/1.2.4...1.2.5

Page 4 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.