Skip to content

PromptMetadataEntry

Structure Class

PromptMetadataEntry dataclass

Bases: _SerdeShape

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 instance-attribute
key: str

The key of a metadata tag for a prompt variant.

value instance-attribute
value: str

The value of a metadata tag for a prompt variant.