@cdklabs/generative-ai-cdk-constructs • Docs
@cdklabs/generative-ai-cdk-constructs / bedrock / PromptProps
PROPS FOR NEW CONSTRUCT ***************************************************************************
readonly
optional
defaultVariant:PromptVariant
The Prompt Variant that will be used by default.
- No default variant provided.
readonly
optional
description:string
A description of what the prompt does.
- No description provided.
readonly
optional
kmsKey:IKey
The KMS key that the prompt is encrypted with.
- AWS owned and managed key.
readonly
promptName:string
The name of the prompt.
readonly
optional
variants:PromptVariant
[]
The variants of your prompt. Variants can use different messages, models, or configurations so that you can compare their outputs to decide the best variant for your use case. Maximum of 3 variants.