@cdklabs/generative-ai-cdk-constructs • Docs
@cdklabs/generative-ai-cdk-constructs / bedrock / TextPromptVariantProps
readonly
optional
inferenceConfiguration:PromptModelInferenceConfigurationProperty
Inference configuration for the Text Prompt
readonly
model:IInvokable
The model which is used to run the prompt. The model could be a foundation model, a custom model, or a provisioned model.
CommonPromptVariantProps
.model
readonly
promptText:string
The text prompt. Variables are used by encolsing its name with double curly braces as in ``.
readonly
promptVariables:string
[]
The variables in the prompt template that can be filled in at runtime.
readonly
variantName:string
The name of the prompt variant.