Skip to main content

AiOpenAIChunkChoice

One choice of a streaming completion, carrying the part this chunk adds.

NameTypeDescriptionNotes
indexBigDecimalThe zero-based position of the choice. This service emits a single choice, so always 0.[required]
deltaAiOpenAIChoiceDeltaWhat this chunk adds to the choice.[required]
finish_reasonAiOpenAIFinishReasonWhy the completion stopped, or null while it is still streaming.[required] [enum: stop, length, tool_calls, content_filter, null] [nullable]