Interface IPromptVariant
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IPromptVariant.Jsii$Default
- All Known Implementing Classes:
IPromptVariant.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-29T17:51:11.501Z")
@Stability(Experimental)
public interface IPromptVariant
extends software.amazon.jsii.JsiiSerializable
(experimental) Interface representing a prompt variant configuration.
Variants are specific sets of inputs that guide FMs on Amazon Bedrock to generate an appropriate response or output for a given task or instruction.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIPromptVariant
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptiondefault PromptGenAiResource
(experimental) The generative AI resource configuration.default PromptInferenceConfiguration
(experimental) The inference configuration.default String
(experimental) The unique identifier of the model with which to run inference on the prompt.getName()
(experimental) The name of the prompt variant.(experimental) The template configuration.(experimental) The type of prompt template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
(experimental) The name of the prompt variant. -
getTemplateConfiguration
(experimental) The template configuration. -
getTemplateType
(experimental) The type of prompt template.Default: - Text
-
getGenAiResource
(experimental) The generative AI resource configuration. -
getInferenceConfiguration
(experimental) The inference configuration. -
getModelId
(experimental) The unique identifier of the model with which to run inference on the prompt.
-