Python toolkit for building production-ready LLM applications. Modular utilities for prompts, RAG, agents, structured outputs, and multi-provider support.
Was this section helpful?
Chat Completions API - Streaming, OpenAI, 2024 (OpenAI) - Explains how to enable and consume streaming responses from the OpenAI API, including chunk structure and example code.
Streaming responses, Anthropic, 2024 (Anthropic) - Details the mechanism for receiving incremental data from the Anthropic Claude API, covering event types and processing.