Skip to content
1 min read · 183 words

Interface: OpenAIResponsesOutputTextDoneEvent ​

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

SSE event emitted when an output message's text content part is finalized.

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:356
item_idstringThe id of the output-message item this text belongs to.--src/batteries/llm/openai_responses/types.ts:352
output_indexnumberThe index of the output-message item within response.output.--src/batteries/llm/openai_responses/types.ts:354
sequence_number?numberMonotonically increasing sequence number for this event within the stream.-OpenAIResponsesStreamEventBase.sequence_numbersrc/batteries/llm/openai_responses/types.ts:310
textstringThe complete, finalized text.--src/batteries/llm/openai_responses/types.ts:358
type"response.output_text.done"Event-type discriminator; always 'response.output_text.done'.OpenAIResponsesStreamEventBase.type-src/batteries/llm/openai_responses/types.ts:350