This server event occurs when a user rates an answer provided by generative AI.
This event contains the following fields:
Field | Description |
---|---|
comment |
The user's comment. |
queryId |
The query's unique identifier. |
rating |
The rating given by the user. |
type |
The type of rating is always stars . |
value |
The number of stars given (values range from 1 to 5 ). |
A table for the most common fields is in Analytics events.
Example:
[
{
"queryId": "5696aaf2-3873-4c10-bdea-8a5647f83c9e",
"rating": {
"type": "stars",
"value": "4"
},
"comment": "The user's comment"
}
]