interface ResponseRetrieveParamsStreaming {
    include?: ResponseIncludable[];
    starting_after?: number;
    stream: true;
}

Hierarchy

  • ResponseRetrieveParamsBase
    • ResponseRetrieveParamsStreaming

Properties

include?: ResponseIncludable[]

Additional fields to include in the response. See the include parameter for Response creation above for more information.

starting_after?: number

The sequence number of the event after which to start streaming.

stream: true

If set to true, the model response data will be streamed to the client as it is generated using server-sent events. See the Streaming section below for more information.