get

operator fun get(index: Int): CompletionChoiceChunk

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

Return

The generated CompletionChoiceChunk at the index.

Parameters

index

The index of the message.