package ocaml-ai-sdk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ai_provider_openai.Convert_streamSource

Transform OpenAI SSE events into SDK stream parts.

Handles OpenAI's streaming format where tool calls are accumulated by index within delta.tool_calls arrays, and the stream terminates with data: [DONE].