Instructor 1.18 drops with streaming, logging fixes
Instructor 1.18 introduces major parser optimizations for partial streaming, hardened batch processing, and provider fixes across Anthropic, Bedrock, and Azure. The update also improves data privacy by making raw LLM response logging strictly opt-in.
Making raw response logging opt-in is a major security improvement for enterprise teams running sensitive payloads through structured LLM workflows. Combined with performance gains in partial JSON parsing, 1.18 reinforces Instructor's position as the standard Pydantic bridge for production AI engineering.
- –Opt-in logging protects provider and validation payloads from leaking into default application logs and external observability sinks.
- –Streaming parser enhancements skip already-validated JSON spans and reuse parsed ASTs to eliminate CPU overhead during token streaming.
- –Provider hardening resolves thinking token tracking for Anthropic, multimodal PDF conversion for Bedrock, and adds Azure Foundry client support.
- –Batch job pipelines now preserve raw output files and reject truncated responses instead of failing silently.
- –Dropping Python 3.9 support enables cleaner modern typing and async response contracts across client factories.
DISCOVERED
5m ago
2026-11-26
PUBLISHED
30m ago
2026-11-26
RELEVANCE
AUTHOR
jxnlco