AssistantAnswerFeedback
One person's feedback on one assistant answer: a rating, a report, or both.
Rating again replaces the rating. A report is sticky: rating again without
report does not withdraw it. Reporting is its own action and never changes
the rating (D31).
type AssistantAnswerFeedback {
agentRunId: ID
id: ID!
messageId: ID!
rating: AssistantFeedbackRating
reason: String
comment: String
reported: Boolean!
updatedAt: Time!
}
Fields
AssistantAnswerFeedback.agentRunId ● ID scalar
The agent_run that produced the rated answer; null for answers written before runs were linked.
AssistantAnswerFeedback.id ● ID! non-null scalar
AssistantAnswerFeedback.messageId ● ID! non-null scalar
AssistantAnswerFeedback.rating ● AssistantFeedbackRating enum
Null when the person reported the answer without rating it.
AssistantAnswerFeedback.reason ● String scalar
Reason code: incorrect, not_helpful, wrong_action, ignored_instruction, unsafe, accurate, saved_time or other. Null when none was given.
AssistantAnswerFeedback.comment ● String scalar
AssistantAnswerFeedback.reported ● Boolean! non-null scalar
The person asked staff to look at this answer.
AssistantAnswerFeedback.updatedAt ● Time! non-null scalar
Returned By
reportedAssistantAnswers query ● submitAssistantFeedback mutation
Member Of
AgentRunInspection object ● ChatMessage object