AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration

data class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration(val maxLength: Int, val stopSequences: List<String>, val temperature: Double, val topK: Int, val topP: Double)

Constructors

constructor(maxLength: Int, stopSequences: List<String>, temperature: Double, topK: Int, topP: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Maximum number of tokens to allow in the generated response.

Link copied to clipboard

List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.

Link copied to clipboard

Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options.

Link copied to clipboard
val topK: Int

Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence.

Link copied to clipboard

Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence.