generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


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

Interface: AgentPromptVariantProps

Extends

Properties

agentAlias

readonly agentAlias: IAgentAlias

An alias pointing to the agent version to be used.


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.

Inherited from

CommonPromptVariantProps.model


promptText

readonly promptText: string

The text prompt. Variables are used by enclosing its name with double curly braces as in ``.


promptVariables?

readonly optional promptVariables: string[]

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

Inherited from

CommonPromptVariantProps.promptVariables


variantName

readonly variantName: string

The name of the prompt variant.

Inherited from

CommonPromptVariantProps.variantName