mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-20 23:31:30 +03:00
117 lines
2.3 KiB
JSON
117 lines
2.3 KiB
JSON
{
|
|
"todolist": {
|
|
"create_list": {
|
|
"expressions": [
|
|
"Create the list",
|
|
"Create a list"
|
|
],
|
|
"entities": [
|
|
{
|
|
"type": "trim",
|
|
"name": "list",
|
|
"conditions": [
|
|
{
|
|
"type": "between",
|
|
"from": "the",
|
|
"to": "list"
|
|
},
|
|
{
|
|
"type": "between",
|
|
"from": "a",
|
|
"to": "list"
|
|
},
|
|
{
|
|
"type": "between",
|
|
"from": "an",
|
|
"to": "list"
|
|
},
|
|
{
|
|
"type": "between",
|
|
"from": "my",
|
|
"to": "list"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"view_lists": {
|
|
"expressions": [
|
|
"Show the lists",
|
|
"Show my lists",
|
|
"What are the lists?",
|
|
"What are my lists?"
|
|
]
|
|
},
|
|
"rename_list": {
|
|
"expressions": [
|
|
"Rename the list to list",
|
|
"Rename my list to list"
|
|
],
|
|
"entities": [
|
|
{
|
|
"type": "trim",
|
|
"name": "old_list",
|
|
"conditions": [
|
|
{
|
|
"type": "between",
|
|
"from": "the",
|
|
"to": "list"
|
|
},
|
|
{
|
|
"type": "between",
|
|
"from": "my",
|
|
"to": "list"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "trim",
|
|
"name": "new_list",
|
|
"conditions": [
|
|
{
|
|
"type": "after",
|
|
"from": "to"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"delete_list": {
|
|
"expressions": [
|
|
"Delete the list",
|
|
"Delete my list"
|
|
],
|
|
"entities": [
|
|
{
|
|
"type": "trim",
|
|
"name": "list",
|
|
"conditions": [
|
|
{
|
|
"type": "between",
|
|
"from": "the",
|
|
"to": "list"
|
|
},
|
|
{
|
|
"type": "between",
|
|
"from": "my",
|
|
"to": "list"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"add_todos": {
|
|
"expressions": [
|
|
"Add to the list",
|
|
"Add to my list"
|
|
]
|
|
},
|
|
"complete_todos": {
|
|
"expressions": [
|
|
"Complete from the list",
|
|
"Complete from my list"
|
|
]
|
|
}
|
|
}
|
|
}
|