Bot Utterance Intent Prediction
Predict the intent of utterances for a bot.
Resource
1/connect/bots/utterance-prediction/intentAvailable version
66.0
HTTP methods
POST
Request body for POST
- JSON example
-
1{ 2 "botId": "1M1SG00000000Ax", 3 "botVersionId": "0X9SG0000005ABd0AM", 4 "utterancesToIntents": [ 5 { 6 "utterance": "Do not give up?", 7 "intent": "bot-profile_update" 8 }, 9 { 10 "utterance": "How do I change my account information?", 11 "intent": "bot-profile_update" 12 }, 13 { 14 "utterance": "Can you tell me the status of my order?", 15 "intent": "bot-order_details" 16 }, 17 { 18 "utterance": "I want to track my order.", 19 "intent": "bot-order_details" 20 }, 21 { 22 "utterance": "Can you tell me the movie schedule?", 23 "intent": "bot-movie_schedule" 24 }, 25 { 26 "utterance": "What are the showtimes for today?", 27 "intent": "bot-movie_schedule" 28 } 29 ] 30} - Properties
-
Name Type Description Required or Optional Available Version botId String ID of the bot. Required 66.0 botVersionId String Version ID of the bot. Required 66.0 utterancesToIntents Utterance Prediction Input[] Collection of utterance and intent information for the bot. Required 66.0
Response body for POST