1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-28 19:25:57 +03:00
leon/test/assets/expressions.json

52 lines
955 B
JSON
Raw Normal View History

2019-05-11 18:37:59 +03:00
{
"color": {
"run": {
2022-09-03 14:12:41 +03:00
"utterance_samples": ["I like that color"],
2019-05-11 18:37:59 +03:00
"entities": [
{
"type": "regex",
"name": "color",
"regex": "blue|white|red"
}
]
}
},
"unittest": {
"do_not_support_entity": {
2022-09-03 14:12:41 +03:00
"utterance_samples": ["Just an utterance sample"],
2019-05-11 18:37:59 +03:00
"entities": [
{
"type": "not_supported_entity"
}
]
}
},
"mockingbird": {
"test": {
2022-09-03 14:12:41 +03:00
"utterance_samples": ["Whistle as a bird"],
2019-05-11 18:37:59 +03:00
"entities": [
{
"type": "trim",
"name": "start",
"conditions": [
{
"type": "before",
"to": "bird"
}
]
},
{
"type": "trim",
"name": "animal",
"conditions": [
{
"type": "after_last",
"from": "a"
}
]
}
]
}
}
}