Instructor v1.16.0
Instructor v1.16.0 adds native structured outputs for AWS Bedrock via Converse, cumulative token retry budgets, and compatibility with Mistral SDK 2.x, alongside numerous bug fixes across streaming, retry accounting, and provider request handling.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Instructor release v1.16.0 brings native Bedrock structured output support (Mode.JSON SCHEMA and Mode.TOOLS STRICT) using Converse outputConfig.textFormat with recursive schema normalization, establishing a minimum boto3 requirement of 1.42.42. It also adds validation retry budgets that track cumulative token limits for structured non-streaming retries, halting requests if usage is missing on failure. Mistral SDK 2.x export is now supported on Python 3.10+ alongside a 1.x fallback on Python 3.9. Additionally, the release enforces a 30-second timeout on remote multimodal downloads (audio, PDF, images), resolves Bedrock reasoning JSON parsing issues, refines usage accumulation across OpenAI and Anthropic retries, and fixes streaming retries and PEP 604 union parsing.
可执行摘要
Instructor v1.16.0 introduces Mode.JSON SCHEMA and Mode.TOOLS STRICT for AWS Bedrock (requiring boto3 = 1.42.42), cumulative token retry budgets with cutoff parity, and support for mistralai 2.x on Python 3.10+. Key fixes include remote multimodal download timeouts, improved streaming retries across OpenAI/Bedrock, and refined retry usage accumulation across OpenAI and Anthropic.
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade boto3 to = 1.42.42 if using native Bedrock structured outputs (Mode.JSON SCHEMA or Mode.TOOLS STRICT).
- Review validation retry configurations if applying the new cumulative token budget limits to non-streaming calls.
- Verify Python environment compatibility if upgrading to mistralai 2.x client on Python 3.10+.