@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / TextPromptVariantProps
readonlyoptionalinferenceConfiguration:PromptModelInferenceConfigurationProperty
Inference configuration for the Text Prompt
readonlymodel: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
readonlypromptText:string
The text prompt. Variables are used by enclosing its name with double curly braces as in ``.
readonlyoptionalpromptVariables:string[]
The variables in the prompt template that can be filled in at runtime.
CommonPromptVariantProps.promptVariables
readonlyvariantName:string
The name of the prompt variant.