AgentPromptVariantInferenceConfigurationText

data class AgentPromptVariantInferenceConfigurationText(val maxTokens: Int? = null, val stopSequences: List<String>? = null, val temperature: Double? = null, val topP: Double? = null)

Constructors

constructor(maxTokens: Int? = null, stopSequences: List<String>? = null, temperature: Double? = null, topP: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val maxTokens: Int? = null

Maximum number of tokens to return in the response.

Link copied to clipboard
val stopSequences: List<String>? = null

List of strings that define sequences after which the model will stop generating.

Link copied to clipboard
val temperature: Double? = null

Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.

Link copied to clipboard
val topP: Double? = null

Percentage of most-likely candidates that the model considers for the next token.