Skip to main content

AssistantAnswerFeedback

One person's rating of one assistant answer. Rating again replaces it. A report is sticky: rating again without report does not withdraw it.

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! non-null enum​

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