CreateMessageParams

@Serializable
data class CreateMessageParams(val messages: List<SamplingMessage>, val modelPreferences: ModelPreferences? = null, val systemPrompt: String? = null, val includeContext: IncludeContext? = null, val temperature: Double? = null, val maxTokens: Int, val stopSequences: List<String>? = null, val metadata: Map<String, JsonElement>? = null, val _meta: Map<String, JsonElement>? = null) : ClientApprovable

Constructors

Link copied to clipboard
constructor(messages: List<SamplingMessage>, modelPreferences: ModelPreferences? = null, systemPrompt: String? = null, includeContext: IncludeContext? = null, temperature: Double? = null, maxTokens: Int, stopSequences: List<String>? = null, metadata: Map<String, JsonElement>? = null, _meta: Map<String, JsonElement>? = null)

Properties

Link copied to clipboard
val _meta: Map<String, JsonElement>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val metadata: Map<String, JsonElement>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard