Skip to content

MessageUsefulnessFeedbackDict

Dictionary Type

MessageUsefulnessFeedbackDict

Bases: TypedDict

Dictionary form of MessageUsefulnessFeedback.

Attributes

comment instance-attribute
comment: str | None

A comment given by an end user on the usefulness of an AI-generated chat message.

reason instance-attribute
reason: str | None

The reason for a usefulness rating.

submitted_at instance-attribute
submitted_at: Required[datetime]

The timestamp for when the feedback was submitted.

usefulness instance-attribute
usefulness: Required[str]

The usefulness value assigned by an end user to a message.