mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-24 09:12:20 +03:00
58 lines
979 B
JSON
58 lines
979 B
JSON
{
|
|
"color": {
|
|
"run": {
|
|
"expressions": [
|
|
"I like that color"
|
|
],
|
|
"entities": [
|
|
{
|
|
"type": "regex",
|
|
"name": "color",
|
|
"regex": "blue|white|red"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"unittest": {
|
|
"do_not_support_entity": {
|
|
"expressions": [
|
|
"Just an expression"
|
|
],
|
|
"entities": [
|
|
{
|
|
"type": "not_supported_entity"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"mockingbird": {
|
|
"test": {
|
|
"expressions": [
|
|
"Whistle as a bird"
|
|
],
|
|
"entities": [
|
|
{
|
|
"type": "trim",
|
|
"name": "start",
|
|
"conditions": [
|
|
{
|
|
"type": "before",
|
|
"to": "bird"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "trim",
|
|
"name": "animal",
|
|
"conditions": [
|
|
{
|
|
"type": "after_last",
|
|
"from": "a"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|