AgentPromptVariantArgs

data class AgentPromptVariantArgs(val additionalModelRequestFields: Output<String>? = null, val genAiResource: Output<AgentPromptVariantGenAiResourceArgs>? = null, val inferenceConfiguration: Output<AgentPromptVariantInferenceConfigurationArgs>? = null, val metadatas: Output<List<AgentPromptVariantMetadataArgs>>? = null, val modelId: Output<String>? = null, val name: Output<String>, val templateConfiguration: Output<AgentPromptVariantTemplateConfigurationArgs>? = null, val templateType: Output<String>) : ConvertibleToJava<AgentPromptVariantArgs>

Constructors

Link copied to clipboard
constructor(additionalModelRequestFields: Output<String>? = null, genAiResource: Output<AgentPromptVariantGenAiResourceArgs>? = null, inferenceConfiguration: Output<AgentPromptVariantInferenceConfigurationArgs>? = null, metadatas: Output<List<AgentPromptVariantMetadataArgs>>? = null, modelId: Output<String>? = null, name: Output<String>, templateConfiguration: Output<AgentPromptVariantTemplateConfigurationArgs>? = null, templateType: Output<String>)

Properties

Link copied to clipboard

Contains model-specific inference configurations that aren’t in the inferenceConfiguration field. To see model-specific inference parameters, see Inference request parameters and response fields for foundation models.

Link copied to clipboard

Specifies a generative AI resource with which to use the prompt. If this is not supplied, then a gen_ai_resource must be defined. See Generative AI Resource for more information.

Link copied to clipboard

Contains inference configurations for the prompt variant. See Inference Configuration for more information.

Link copied to clipboard

A list of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant. See Metadata for more information.

Link copied to clipboard
val modelId: Output<String>? = null

Unique identifier of the model or inference profile with which to run inference on the prompt. If this is not supplied, then a gen_ai_resource must be defined.

Link copied to clipboard
val name: Output<String>

Name of the prompt variant.

Link copied to clipboard

Contains configurations for the prompt template. See Template Configuration for more information.

Link copied to clipboard
val templateType: Output<String>

Type of prompt template to use. Valid values: CHAT, TEXT.

Functions

Link copied to clipboard
open override fun toJava(): AgentPromptVariantArgs