v2026.6.4
All Bundles
Bundle Support for legacy OpenAI chat APIs (-lib openai)

Choice

Completion choice

Operations

GetFinishReason #

Get finish reason

method : public : GetFinishReason() ~ String

Return

TypeDescription
Stringfinish reason

GetIndex #

Get index

method : public : GetIndex() ~ Int

Return

TypeDescription
Intindex

GetMessage #

Get message

method : public : GetMessage() ~ Pair<String,String>

Return

TypeDescription
Pair<String,String>message

ToString #

String representation of the object

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation