gen_ai.rate - Fluid Topics - Latest

Integrate the Fluid Topics API

Category
Technical Notes
Audience
public
Version
Latest

This server event occurs when a user rates an answer provided by generative AI.

This event contains the following fields:

Field Description
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).
comment The user's comment.

A table for the most common fields is in Analytics events.

Example:

[    
    {
        "appName": "ft/turnkey-portal",
        "appVersion": "4.3.30",
        "contentLocale": "en-US",
        "datetime": 1713752006192,
        "id": "03d70bff-9977-45c6-8cbd-b2cc9fd19d9c",
        "name": "gen_ai.completed_query",
        "offline": false,
        "structuredParameters": {
            "queryId": "5696aaf2-3873-4c10-bdea-8a5647f83c9e",
                "rating": {
                        "type": "stars",
                        "value": "4"
                    },
                    "comment": "The user's comment"
            },
        "sessionId": "d8af1763-020f-40bc-a475-b1cfa9658153",
        "tenantId": "motorola-poc-eu-2",
        "uiLocale": "en-US",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
        "userGroups": [
                "ft:authenticated"
        ],
        "userId": "1960ea90-0c1c-465e-8857-6b5a5607a75b",
        "userIp": "10.1.2.1",
        "userRoles": [
                "FEEDBACK_USER",
                "GENERATIVE_AI_USER"
        ],
        "version": "v0.1"
    }
]