Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Event emitted when text streaming is complete

Example Usage

Fields

FieldTypeRequiredDescription
contentIndexnumber:heavy_check_mark:N/A
itemIdstring:heavy_check_mark:N/A
logprobsmodels.StreamLogprob[]:heavy_check_mark:N/A
outputIndexnumber:heavy_check_mark:N/A
sequenceNumbernumber:heavy_check_mark:N/A
textstring:heavy_check_mark:N/A
type”response.output_text.done”:heavy_check_mark:N/A