Skip to content

Instantly share code, notes, and snippets.

@ClydeDz
Created September 23, 2017 10:32
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 ClydeDz/318747046247559d5a386a15c551a891 to your computer and use it in GitHub Desktop.
Save ClydeDz/318747046247559d5a386a15c551a891 to your computer and use it in GitHub Desktop.
Sample API.AI emojis entity export in JSON format. On importing this JSON into another agent, it creates an entity names @emoji and will have values and can detect emoji's like 'smile', 'like', etc. This is not a comprehensive list, just an example.
{
"id": "bff8ea0a-b4ff-4ea8-8691-ca22f05187e9",
"name": "emoji",
"isOverridable": true,
"entries": [
{
"value": "smile",
"synonyms": [
"\"☺\"",
"\":smile:\"",
"😀",
"😃",
"😄",
"😁"
]
},
{
"value": "like",
"synonyms": [
"\":thumbsup:\"",
"\"(y)\"",
"👍",
"👌"
]
},
{
"value": "sad",
"synonyms": [
"\"☹\"",
"\":disappointed:\"",
"😔",
"😞",
"😟",
"😕",
"🙁"
]
},
{
"value": "kiss",
"synonyms": [
"\"😗\"",
"\":kissing_heart:\"",
"\":heart_eyes:\"",
"😘",
"😍",
"😗",
"😙",
"😚"
]
},
{
"value": "tease",
"synonyms": [
"\":P\"",
"😋",
"😜",
"😝",
"😛",
"\":stuck_out_tongue_winking_eye:\"",
"\":stuck_out_tongue_closed_eyes:\"",
"\":stuck_out_tongue:\""
]
}
],
"isEnum": false,
"automatedExpansion": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment