1.7.3
📦 instructorView on GitHub →
✨ 7 features🐛 3 fixes🔧 5 symbols
Summary
This release introduces support for AWS Bedrock and Perplexity Sonar, adds Claude 3.7 Sonnet reasoning support, and defaults Gemini to JSON mode. It also includes various documentation improvements and a new utility to strip control characters from LLM outputs.
Migration Steps
- If using Gemini, note that GEMINI_JSON is now the default mode
- Review the new 'migrating to uv' article if planning to switch package managers
✨ New Features
- Added support for AWS Bedrock using boto3
- Added support for Perplexity Sonar models
- Added support for Claude 3.7 Sonnet reasoning with ANTHROPIC_JSON mode
- Set GEMINI_JSON as the default mode for Gemini models
- Added Deepseek Reasoning example and documentation
- Implemented programmatic removal of control characters from LLM responses
- Added migration guide for switching to uv package manager
🐛 Bug Fixes
- Fixed Markdown titles in documentation
- Fixed Vertex AI asynchronous example
- Updated run.py script for better reliability
🔧 Affected Symbols
GEMINI_JSONANTHROPIC_JSONboto3instructor.from_bedrockinstructor.from_vertex