1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-28 11:13:14 +03:00
leon/test/assets/expressions.json
2022-09-03 19:12:41 +08:00

52 lines
955 B
JSON

{
"color": {
"run": {
"utterance_samples": ["I like that color"],
"entities": [
{
"type": "regex",
"name": "color",
"regex": "blue|white|red"
}
]
}
},
"unittest": {
"do_not_support_entity": {
"utterance_samples": ["Just an utterance sample"],
"entities": [
{
"type": "not_supported_entity"
}
]
}
},
"mockingbird": {
"test": {
"utterance_samples": ["Whistle as a bird"],
"entities": [
{
"type": "trim",
"name": "start",
"conditions": [
{
"type": "before",
"to": "bird"
}
]
},
{
"type": "trim",
"name": "animal",
"conditions": [
{
"type": "after_last",
"from": "a"
}
]
}
]
}
}
}