The reason why the model stopped generating tokens.
Stops if the model hits a natural stop point or a provided stop sequence. Returns the length if the tokens reach the specified maximum number of tokens.
The index of the chat. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
Represents a single instance of the chat response.