get

operator fun get(index: Int): CompletionChoice

Shorthand for accessing the generated messages (shorthand for CompletionResponse.choices).

Return

The generated CompletionChoice at the index.

Parameters

index

The index of the message.