Skip to content

Instantly share code, notes, and snippets.

@enricop89
Created March 5, 2020 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enricop89/3524d4a3e418161c9b953f306e86dfb6 to your computer and use it in GitHub Desktop.
Save enricop89/3524d4a3e418161c9b953f306e86dfb6 to your computer and use it in GitHub Desktop.
Vonage AI - Sample NLU Response
"nluResponse": {
"debug": null,
"input": "hi",
"result": {
"action": "welcome",
"intent_on_hold": "",
"completion_attempts": 0,
"contexts": [],
"dialog_complete": true,
"intent": "welcome message",
"intent_id": "5da1f6fd109254195c28",
"intent_name": "welcome message",
"match_precision": 0.70975,
"sentence_precision": 0,
"parameters": [],
"response": "Hello, I'm Tesco Bot. I can help you find your nearest shop or get information about a product. {linebreak}{linebreak}{linebreak} Type *shop* to find the closest shop around you {linebreak}{linebreak}{linebreak} Type *Product* to find information about a product. {linebreak} {linebreak}",
"sentence_matched": "hi",
"sentence_tested": "hi",
"intent_interaction_count": 1,
"webhook_url": ""
},
"status": {
"code": 0,
"message": "Success",
"trace": null
},
"timestamp": "2020-03-05T16:36:21.624086+00:00",
"execution_time_ms": 147,
"agent_id": "5d94448fc52cdd",
"language_code": "en-US",
"user_id": "enrico.portolan@vonage.com",
"nlu_version": "2.22.8",
"session_id": "1990ba11-0a98-7a61-2939-",
"promptedParameter": null
},
"skillResponse": null,
"actions": [],
"serverToken": "",
"mayContainSpellMistakes": false,
"dialogCompleted": true,
"debugInfo": null,
"responseVersion": 1,
"customValues": [],
"env": null,
"hiddenMode": false,
"botName": "Over.ai",
"agentName": null,
"responseType": 1,
"responseLanguage": "English",
"say": {
"sayUrl": [
"https://apiazure.over.ai/api/tts/mp3tts/?input=Hello%2c+I%27m+Tesco+Bot.+I+can+help+you+find+your+nearest+shop+or+get+information+about+a+product.+%7blinebreak%7d%7blinebreak%7d%7blinebreak%7d+Type+*shop*+to+find+the+closest+shop+around+you+%7blinebreak%7d%7blinebreak%7d%7blinebreak%7d+Type+*Product*+to+find+information+about+a+product.++%7blinebreak%7d+%7blinebreak%7d&lang=en-US"
],
"sentencesAsOneLine": "Hello, I'm Tesco Bot. I can help you find your nearest shop or get information about a product. {linebreak}{linebreak}{linebreak} Type *shop* to find the closest shop around you {linebreak}{linebreak}{linebreak} Type *Product* to find information about a product. {linebreak} {linebreak}",
"startConversation": true,
"sentences": [
"Hello, I'm Tesco Bot. I can help you find your nearest shop or get information about a product. {linebreak}{linebreak}{linebreak} Type *shop* to find the closest shop around you {linebreak}{linebreak}{linebreak} Type *Product* to find information about a product. {linebreak} {linebreak}"
]
},
"spokenResult": {
"sayUrl": null,
"sentencesAsOneLine": "",
"startConversation": true,
"sentences": []
},
"thirdparty": null,
"telephonyActions": null,
"displayActions": []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment