Created
July 24, 2018 08:03
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"text": "hey", // The test that the user may speak | |
"intent": "greet", // The intent that the text get classified | |
"entities": [] // Any data that can be obtained from the text | |
} | |
// To clearly show how entities are marked | |
{ | |
"text": "show me chinese restaurants", | |
"intent": "restaurant_search", | |
"entities": [ | |
{ // This entitiy shows where the value is there and what value is there and what is the name of the value | |
"start": 8, | |
"end": 15, | |
"value": "chinese", | |
"entity": "cuisine", | |
"confidence": 0.875 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment