get

operator fun get(index: Int): ChatChoiceChunk

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

Return

The generated ChatChoiceChunk at the index.

Parameters

index

The index of the message (0 for most use cases).