Skip to content

Instantly share code, notes, and snippets.

@peenaphoenix
Created July 24, 2018 08:03
{
"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