finishReason

Sets the finish reason for the response.

Return

This specification instance for method chaining.

Parameters

finishReason

The reason why the model stopped generating tokens.