Skip to content

Qbusiness  >  Operations  >  put_feedback

put_feedback

Operation

put_feedback async

put_feedback(input: PutFeedbackInput, plugins: list[Plugin] | None = None) -> PutFeedbackOutput

Enables your end user to provide feedback on their Amazon Q Business generated chat responses.

Parameters:

Name Type Description Default
input PutFeedbackInput

An instance of PutFeedbackInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
PutFeedbackOutput

An instance of PutFeedbackOutput.

Input

PutFeedbackInput dataclass

Dataclass for PutFeedbackInput structure.

Attributes

application_id class-attribute instance-attribute
application_id: str | None = None

The identifier of the application associated with the feedback.

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

The identifier of the conversation the feedback is attached to.

message_copied_at class-attribute instance-attribute
message_copied_at: datetime | None = None

The timestamp for when the feedback was recorded.

message_id class-attribute instance-attribute
message_id: str | None = None

The identifier of the chat message that the feedback was given for.

message_usefulness class-attribute instance-attribute
message_usefulness: MessageUsefulnessFeedback | None = None

The feedback usefulness value given by the user to the chat message.

user_id class-attribute instance-attribute
user_id: str | None = None

The identifier of the user giving the feedback.

Output

PutFeedbackOutput dataclass

Dataclass for PutFeedbackOutput structure.