IPromptVariant

class aws_cdk.aws_bedrock_alpha.IPromptVariant(*args, **kwargs)

Bases: Protocol

(experimental) Interface representing a prompt variant configuration.

Variants are specific sets of inputs that guide FMs on Amazon Bedrock to generate an appropriate response or output for a given task or instruction.

Stability:

experimental

Attributes

gen_ai_resource

(experimental) The generative AI resource configuration.

Stability:

experimental

inference_configuration

(experimental) The inference configuration.

Stability:

experimental

model_id

(experimental) The unique identifier of the model with which to run inference on the prompt.

Stability:

experimental

name

(experimental) The name of the prompt variant.

Stability:

experimental

template_configuration

(experimental) The template configuration.

Stability:

experimental

template_type

(experimental) The type of prompt template.

Default:
  • Text

Stability:

experimental