ModelParams

data class ModelParams(val modelName: ModelName, val temperature: Temperature? = null, val stopSequences: List<String>? = null, val maxOutputTokens: MaxTokens? = null, val responseFormat: ChatResponseFormat? = null, val tools: List<LLMTool> = emptyList(), val toolSelection: ToolSelection? = null, val topP: Double? = null, val topK: Int? = null, val frequencyPenalty: Double? = null, val presencePenalty: Double? = null)(source)

Constructors

Link copied to clipboard
constructor(modelName: ModelName, temperature: Temperature? = null, stopSequences: List<String>? = null, maxOutputTokens: MaxTokens? = null, responseFormat: ChatResponseFormat? = null, tools: List<LLMTool> = emptyList(), toolSelection: ToolSelection? = null, topP: Double? = null, topK: Int? = null, frequencyPenalty: Double? = null, presencePenalty: Double? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val topK: Int?
Link copied to clipboard
val topP: Double?