liveGenerationConfig
fun liveGenerationConfig(init: LiveGenerationConfig.Builder.() -> Unit): LiveGenerationConfig(source)
Helper method to construct a LiveGenerationConfig in a DSL-like manner.
Example Usage:
liveGenerationConfig {
temperature = 0.75f
topP = 0.5f
topK = 30
maxOutputTokens = 300
...
}Content copied to clipboard