generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / bedrock / CommonPromptVariantProps

Interface: CommonPromptVariantProps

Extended by

Properties

model

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.


promptVariables?

readonly optional promptVariables: string[]

The variables in the prompt template that can be filled in at runtime.


variantName

readonly variantName: string

The name of the prompt variant.