get

operator fun get(index: Int): ChatChoice

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

Return

The generated ChatChoice at the index.

Parameters

index

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