Skip to content

Releases: instructor-ai/instructor

0.6.0

18 Feb 02:27
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 0.5.2...0.6.0

0.5.2

07 Feb 15:40
Compare
Choose a tag to compare

What's Changed

  • chore(pull_request_template): update to include conventional commits instructions by @jxnl in #411
  • Update init.py to include handling models and remove unpatch in _… by @PrathamSoni in #409
  • fix: Adding tests to make sure non-stream iterables work by @jxnl in #413

New Contributors

Full Changelog: 0.5.1...0.5.2

0.5.1

06 Feb 19:32
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.0...0.5.1

0.5.0

04 Feb 16:24
3f7f3c2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.8...0.5.0

0.4.8

23 Jan 17:39
23a3abb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.7...0.4.8

0.4.7

14 Jan 15:42
Compare
Choose a tag to compare

Improvements with field streaming and usage tokens

What's Changed

New Contributors

Full Changelog: 0.4.6...0.4.7

0.4.6

05 Jan 20:15
3b5da18
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.5...0.4.6

0.4.5

19 Dec 23:50
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.3...0.4.5

0.4.4

17 Dec 03:25
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.2...0.4.3

0.4.2

06 Dec 17:34
ba1070a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.1...0.4.2