Interface CommonPromptVariantProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AgentPromptVariantProps,ChatPromptVariantProps,TextPromptVariantProps
- All Known Implementing Classes:
AgentPromptVariantProps.Jsii$Proxy,ChatPromptVariantProps.Jsii$Proxy,CommonPromptVariantProps.Jsii$Proxy,TextPromptVariantProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:04.470Z")
@Stability(Experimental)
public interface CommonPromptVariantProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Common properties for all prompt variants.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.alpha.*;
IBedrockInvokable bedrockInvokable;
CommonPromptVariantProps commonPromptVariantProps = CommonPromptVariantProps.builder()
.model(bedrockInvokable)
.variantName("variantName")
// the properties below are optional
.promptVariables(List.of("promptVariables"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCommonPromptVariantPropsstatic final classAn implementation forCommonPromptVariantProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getModel
(experimental) The model which is used to run the prompt.The model could be a foundation model, a custom model, or a provisioned model.
-
getVariantName
(experimental) The name of the prompt variant. -
getPromptVariables
(experimental) The variables in the prompt template that can be filled in at runtime.Default: - No variables defined.
-
builder
- Returns:
- a
CommonPromptVariantProps.BuilderofCommonPromptVariantProps
-