Skip to content

Bedrock Agent  >  Structures  >  PromptMetadataEntry

PromptMetadataEntry

Structure Class

PromptMetadataEntry dataclass

Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see Create a prompt using Prompt management.

Attributes

key class-attribute instance-attribute
key: str = field(repr=False)

The key of a metadata tag for a prompt variant.

value class-attribute instance-attribute
value: str = field(repr=False)

The value of a metadata tag for a prompt variant.