Newer Version Available
Analytics, Text Classifications
Get text classified into different classifications using text analysis.
- Resource
-
1commerce/order-management/analytics/ai/text-classifications - Available version
- 59.0
- HTTP methods
- GET, POST
- Request body for POST
-
- JSON example
-
1{ 2 "textList": [ 3 "description not matching one aaa", 4 "Runs big", 5 "color is different", 6 "color is different", 7 "Didn't fit", 8 "bad quality", 9 "Wrong color", 10 "Didn't like", 11 "Didn't like" 12 ], 13 "classifiers": [ 14 "Runs big", 15 "Runs small", 16 "Defective", 17 "Inaccurate Description", 18 "Color does", 19 "Item arrived late", 20 "Other" 21 ] 22} - 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