Skip to content

MessageUsefulnessFeedback

Source code in docs_src/capo_qbusiness/types/message_usefulness_feedback.py
class MessageUsefulnessFeedback(TypedDict, closed=True):
    usefulness: "capo_qbusiness.types.message_usefulness.MessageUsefulness"
    """<p>The usefulness value assigned by an end user to a message.</p>"""
    reason: NotRequired[
        "capo_qbusiness.types.message_usefulness_reason.MessageUsefulnessReason"
    ]
    """<p>The reason for a usefulness rating.</p>"""
    comment: NotRequired[
        "capo_qbusiness.types.message_usefulness_comment.MessageUsefulnessComment"
    ]
    """<p>A comment given by an end user on the usefulness of an AI-generated chat message.</p>"""
    submitted_at: "capo_qbusiness.types.timestamp.Timestamp"
    """<p>The timestamp for when the feedback was submitted.</p>"""

comment instance-attribute

comment: NotRequired[MessageUsefulnessComment]

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

reason instance-attribute

reason: NotRequired[MessageUsefulnessReason]

The reason for a usefulness rating.

submitted_at instance-attribute

submitted_at: Timestamp

The timestamp for when the feedback was submitted.

usefulness instance-attribute

usefulness: MessageUsefulness

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