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)

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
val presencePenalty: Double? = null
Link copied to clipboard
Link copied to clipboard
val stopSequences: List<String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val topK: Int? = null
Link copied to clipboard
val topP: Double? = null