@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / ChatPromptVariantProps
readonly
optional
inferenceConfiguration:PromptModelInferenceConfigurationProperty
Inference configuration for the Text Prompt
readonly
messages:ChatMessage
[]
Inference configuration for the Chat Prompt. Must include at least one User Message. The messages should alternate between User and Assistant.
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.
CommonPromptVariantProps
.model
readonly
optional
promptVariables:string
[]
The variables in the prompt template that can be filled in at runtime.
CommonPromptVariantProps
.promptVariables
readonly
optional
system:string
Context or instructions for the model to consider before generating a response.
readonly
optional
toolConfiguration:ToolConfiguration
The configuration with available tools to the model and how it must use them.
readonly
variantName:string
The name of the prompt variant.