Skip to content
1 min read · 187 words

Interface: OpenAIResponsesOutputTextDeltaEvent ​

Defined in: src/batteries/llm/openai_responses/types.ts:334

SSE event emitted when a text fragment streams in for an output message's content.

Extends ​

  • OpenAIResponsesStreamEventBase

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
content_indexnumberThe index of the content part within the item's content array.--src/batteries/llm/openai_responses/types.ts:342
deltastringThe incremental text fragment to append.--src/batteries/llm/openai_responses/types.ts:344
item_idstringThe id of the output-message item this delta belongs to.--src/batteries/llm/openai_responses/types.ts:338
output_indexnumberThe index of the output-message item within response.output.--src/batteries/llm/openai_responses/types.ts:340
sequence_number?numberMonotonically increasing sequence number for this event within the stream.-OpenAIResponsesStreamEventBase.sequence_numbersrc/batteries/llm/openai_responses/types.ts:310
type"response.output_text.delta"Event-type discriminator; always 'response.output_text.delta'.OpenAIResponsesStreamEventBase.type-src/batteries/llm/openai_responses/types.ts:336