Analytics, Text Classifications

Get text classified into different classifications using text analysis.
Resource
commerce/order-management/analytics/ai/text-classifications
Available version
59.0
HTTP methods
GET, POST
Request body for POST
JSON example
{
    "textList": [
        "description not matching one aaa",
        "Runs big",
        "color is different",
        "color is different",
        "Didn't fit",
        "bad quality",
        "Wrong color",
        "Didn't like",
        "Didn't like"
    ],
    "classifiers": [
       "Runs big",
       "Runs small",
       "Defective",
       "Inaccurate Description",
       "Color does",
       "Item arrived late",
       "Other"
    ]
}
Properties
Name Type Description Required or Optional Available Version
classifiers String[] List of classifiers according to which text has to be classified. Required 59.0
textList String[] List of text to be classified. Required 59.0
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
ids String[] List of request IDs. Required 59.0
Response body for GET
Text Classifications Bulk Results
Request body for POST
Text Classifications Input
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
llmType String The large language model that’s used for analysis. Supports open-ai only. Required 59.0
Response body for POST
Text Classifications