Configuration class for LLM parameters like temperature and max tokens.
// Source: https://github.com/JetBrains/koog | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. package ai.koog.prompt.params import ai.koog.prompt.llm.LLMCapability import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonArray import kotlinx.serialization.json.JsonElement import kotlinx.serialization.json.JsonNull import kotlinx.serialization.json.JsonObject import kotlinx.serialization.json.JsonPrimitive /** * Represents configuration parameters for controlling the behavior of a language model. * * @property temperature A parameter to control the randomness in the output. Higher values * encourage more diverse results, while lower values produce determ ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key