Change8

1.8.0

📦 instructorView on GitHub →
1 features🐛 6 fixes🔧 4 symbols

Summary

This release introduces a unified provider interface with string-based initialization and includes several bug fixes for Google GenAI and Python 3.10 type compatibility.

Migration Steps

  1. Explore the new unified provider interface for string-based client initialization.

✨ New Features

  • Add unified provider interface with string-based initialization for easier client setup.

🐛 Bug Fixes

  • Improved error messages for google-genai provider.
  • Fixed is_simple_type function for list[int | str] compatibility in Python 3.10.
  • Added validation check for Google GenAI responses.
  • Fixed various typos in documentation, blog posts, and tutorials.
  • Removed duplicate providers from the integrations page.
  • Fixed simple test failures.

🔧 Affected Symbols

is_simple_typeinstructor.from_googleinstructor.from_openaigoogle-genai