GenerationSettings

data class GenerationSettings(val temperature: Float, val topK: Int, val topP: Float, val thinkingConfig: ThinkingConfig?, val maxOutputTokens: Int? = null)

Constructors

Link copied to clipboard
constructor(temperature: Float, topK: Int, topP: Float, thinkingConfig: ThinkingConfig?, maxOutputTokens: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val maxOutputTokens: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val topK: Int
Link copied to clipboard
val topP: Float