Instructor

Latest version: v1.6.4

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

Scan your dependencies

Page 7 of 13

0.6.4

What's Changed
* fix: big refactor of patch.py by jxnl in https://github.com/jxnl/instructor/pull/493
* fix: updated deprecated pydantic import by zboyles in https://github.com/jxnl/instructor/pull/494


**Full Changelog**: https://github.com/jxnl/instructor/compare/0.6.3...0.6.4

0.6.3

What's Changed
* fix: examples/citation_with_extraction/citation_fuzzy_match.py is out of sync with the website by superkelvint in https://github.com/jxnl/instructor/pull/471
* fix: dedent json system prompt by timothyasp in https://github.com/jxnl/instructor/pull/465
* Update youtube_clips.md by nathan-grant in https://github.com/jxnl/instructor/pull/483
* fix: Improve type hinting, update response models handling, add logging, and fix bugs by jxnl in https://github.com/jxnl/instructor/pull/484
* nit: fix typo: informatino -> information by SinghCoder in https://github.com/jxnl/instructor/pull/487
* feat: Improve MD_JSON mode by jxnl in https://github.com/jxnl/instructor/pull/490

New Contributors
* superkelvint made their first contribution in https://github.com/jxnl/instructor/pull/471
* timothyasp made their first contribution in https://github.com/jxnl/instructor/pull/465
* nathan-grant made their first contribution in https://github.com/jxnl/instructor/pull/483
* SinghCoder made their first contribution in https://github.com/jxnl/instructor/pull/487

**Full Changelog**: https://github.com/jxnl/instructor/compare/0.6.2...0.6.3

0.6.2

What's Changed
* doc: Move partial and iterable from cookbook/examples to hub by ethanleifer in https://github.com/jxnl/instructor/pull/452
* chore(github-actions): simplify caching and reorder setup steps by jxnl in https://github.com/jxnl/instructor/pull/453
* chore(github-actions): optimize workflows with matrix strategy and caching by jxnl in https://github.com/jxnl/instructor/pull/455
* doc: Fix broken doc links in README by hammer in https://github.com/jxnl/instructor/pull/461
* doc: Update README.md by MeDott29 in https://github.com/jxnl/instructor/pull/463
* doc:Lead extraction hub example by Stepheni12 in https://github.com/jxnl/instructor/pull/459
* doc: Update README.md including primitive types usage by Fakamoto in https://github.com/jxnl/instructor/pull/464
* doc: add support for mistral tool calling by shanktt in https://github.com/jxnl/instructor/pull/467
* doc: Create py.typed by rgbkrk in https://github.com/jxnl/instructor/pull/468
* doc: References to PHP port added to docs by ddebowczyk in https://github.com/jxnl/instructor/pull/474
* fix: account for multiple times wrapped functions by joschkabraun in https://github.com/jxnl/instructor/pull/476

New Contributors
* hammer made their first contribution in https://github.com/jxnl/instructor/pull/461
* Stepheni12 made their first contribution in https://github.com/jxnl/instructor/pull/459
* Fakamoto made their first contribution in https://github.com/jxnl/instructor/pull/464
* ddebowczyk made their first contribution in https://github.com/jxnl/instructor/pull/474
* joschkabraun made their first contribution in https://github.com/jxnl/instructor/pull/476

**Full Changelog**: https://github.com/jxnl/instructor/compare/0.6.1...0.6.2

0.6.1

What's Changed
* cookbook: competitors matrix example for image extraction by fpingham in https://github.com/jxnl/instructor/pull/346
* refactor(batch-classification,extract-table): simplify code, improve functionalities, introduce langsmith library by jxnl in https://github.com/jxnl/instructor/pull/442
* feat(response model): introduce handling of simple types by jxnl in https://github.com/jxnl/instructor/pull/447
* docs: update code snippets and text across multiple documentation files by jxnl in https://github.com/jxnl/instructor/pull/450
* doc: move provider examples to hub by ethanleifer in https://github.com/jxnl/instructor/pull/449
* docs(hub): add pandas_df.md and update mkdocs.yml by jxnl in https://github.com/jxnl/instructor/pull/451
* blog: Langsmith blogpost by jxnl in https://github.com/jxnl/instructor/pull/444
* feat(docs/GPT-4 Vision Model): Add document on extracting tables from images and related functionality by jxnl in https://github.com/jxnl/instructor/pull/443

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

**Full Changelog**: https://github.com/jxnl/instructor/compare/0.6.0...0.6.1

0.6.0

We're thrilled to announce the release of Version 0.6.0 for `instructor`. This version introduces a myriad of enhancements, new features, and critical fixes that significantly improve the developer experience. Here's what's new:

Features
- **Instructor Hub Launch:** Discover the newly introduced Instructor Hub, a central place for tutorials, examples, and a new CLI, making it easier for developers to get up and running.
- **Enhanced Patching Methods:** The introduction of new patching methods and modes brings flexibility and power to the customization capabilities of the library.
- **Blog Addition:** Dive into our latest blog post on `llama-cpp-python` and `instructor` library usage, offering insights and best practices.
- **SQLModel Integration:** A major leap forward with `feat(Instructor): integrate with SQLModel`, providing seamless integration, along with comprehensive documentation and examples.

Improvements and Fixes
- **Workflow and Error Handling Enhancements:** Modifications to GitHub Actions and parallel processing error handling improve reliability and developer workflow.
- **Documentation Overhaul:** Significant updates to documentation, including new reference links, formatting fixes, and synchronization of requirements, ensure developers have access to the latest and most accurate information.
- **Type Annotations:** The inclusion of types to various components enhances code readability and maintainability.

New Contributors
A special shoutout to our new contributors ryanhalliday, teome, leobeeson, and shiftbug for their valuable additions to the project.

We're excited for you to try out the new features and improvements in Version 0.6.0. Your feedback is invaluable to us, so please don't hesitate to share your thoughts and experiences as you explore this release. Happy coding!

What's Changed
* chore: Include types to instructor.distil and tests by savarin in https://github.com/jxnl/instructor/pull/396
* feat(Instructor): integrate with SQLModel, provide documentation and example by shanktt in https://github.com/jxnl/instructor/pull/418
* chore: Include types to instructor.dsl by savarin in https://github.com/jxnl/instructor/pull/419
* fix(github-actions): modify triggering conditions for workflows by jxnl in https://github.com/jxnl/instructor/pull/420
* fix(parallel): enhance error handling in get_types_array and add test case by jxnl in https://github.com/jxnl/instructor/pull/423
* docs(documentation): update reference link, add new file, modify mkdocs.yml by jxnl in https://github.com/jxnl/instructor/pull/424
* docs: small formatting fixes by ryanhalliday in https://github.com/jxnl/instructor/pull/427
* docs: Sync requirements-doc.txt with Poetry dev group till mkdocs works by ryanhalliday in https://github.com/jxnl/instructor/pull/428
* docs(patching): introduce new patching methods and modes, update documentation by jxnl in https://github.com/jxnl/instructor/pull/431
* fix(validation): increase max_retries from 1 to 2 by jxnl in https://github.com/jxnl/instructor/pull/433
* feat(blog): Add new post on `llama-cpp-python` and `instructor` library usage by jxnl in https://github.com/jxnl/instructor/pull/434
* fix: json modes - don't add json schema again in system message by teome in https://github.com/jxnl/instructor/pull/435
* chore: Include types to instructor.patch by savarin in https://github.com/jxnl/instructor/pull/422
* Revert "chore: Include types to instructor.patch" by jxnl in https://github.com/jxnl/instructor/pull/437
* feat(instructor/patch.py): change default mode from FUNCTIONS to TOOLS by jxnl in https://github.com/jxnl/instructor/pull/436
* Include new model names in _alias.py by leobeeson in https://github.com/jxnl/instructor/pull/426
* Update ollama.md by shiftbug in https://github.com/jxnl/instructor/pull/438
* Update pricing of models, and include 1106 and 0125 models. by leobeeson in https://github.com/jxnl/instructor/pull/425
* feat(Instructor): introduce Instructor Hub with tutorials, examples, and new CLI by jxnl in https://github.com/jxnl/instructor/pull/439

New Contributors
* ryanhalliday made their first contribution in https://github.com/jxnl/instructor/pull/427
* teome made their first contribution in https://github.com/jxnl/instructor/pull/435
* leobeeson made their first contribution in https://github.com/jxnl/instructor/pull/426
* shiftbug made their first contribution in https://github.com/jxnl/instructor/pull/438

**Full Changelog**: https://github.com/jxnl/instructor/compare/0.5.2...0.6.0

0.5.2

What's Changed
* chore(pull_request_template): update to include conventional commits instructions by jxnl in https://github.com/jxnl/instructor/pull/411
* Update __init__.py to include handling models and remove unpatch in _… by PrathamSoni in https://github.com/jxnl/instructor/pull/409
* fix: Adding tests to make sure non-stream iterables work by jxnl in https://github.com/jxnl/instructor/pull/413

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

**Full Changelog**: https://github.com/jxnl/instructor/compare/0.5.1...0.5.2

Page 7 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.