Skip to content

MetadataEvent

Structure Class

MetadataEvent dataclass

Bases: _SerdeShape

A metadata event for a AI-generated text output message in a Amazon Q Business conversation, containing associated metadata generated.

Attributes

conversation_id class-attribute instance-attribute
conversation_id: str | None = ...

The identifier of the conversation with which the generated metadata is associated.

final_text_message class-attribute instance-attribute
final_text_message: str | None = ...

The final text output message generated by the system.

source_attributions class-attribute instance-attribute
source_attributions: list[SourceAttribution | None] | None = ...

The source documents used to generate the conversation response.

system_message_id class-attribute instance-attribute
system_message_id: str | None = ...

The identifier of an Amazon Q Business AI generated message within the conversation.

user_message_id class-attribute instance-attribute
user_message_id: str | None = ...

The identifier of an Amazon Q Business end user text input message within the conversation.