AiConfig

data class AiConfig(val maxTokens: Int = 256, val temperature: Float = 0.7f, val timeoutMs: Long)(source)

Constructors

Link copied to clipboard
constructor(maxTokens: Int = 256, temperature: Float = 0.7f, timeoutMs: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Deadline for one AiProvider.complete call. Was a hardcoded 5s in every provider.