generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructsDocs


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

Interface: TextPromptVariantProps

Extends

Properties

inferenceConfiguration?

readonly optional inferenceConfiguration: PromptModelInferenceConfigurationProperty

Inference configuration for the Text Prompt


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 encolsing its name with double curly braces as in ``.


promptVariables

readonly 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.

Inherited from

CommonPromptVariantProps.variantName