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