1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-23 20:12:08 +03:00

feat(server): slot filling (wip)

This commit is contained in:
louistiti 2022-03-20 19:25:42 +08:00
parent 1845eed71d
commit 969a83e608
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6
10 changed files with 157 additions and 8 deletions

View File

@ -0,0 +1,28 @@
{
"options": {
"low": {
"synonyms": ["low"],
"data": {
"value": [
"LOW"
]
}
},
"medium": {
"synonyms": ["medium"],
"data": {
"value": [
"MEDIUM"
]
}
},
"high": {
"synonyms": ["high"],
"data": {
"value": [
"HIGH"
]
}
}
}
}

View File

@ -0,0 +1,18 @@
{
"name": "affirm",
"utterance_samples": [
"Yes",
"Yep",
"Yup",
"Yeah",
"Let's do it",
"For sure",
"Sure thing",
"Of course!",
"Okay",
"OK",
"Alright",
"Correct",
"Indeed"
]
}

View File

@ -0,0 +1,12 @@
{
"name": "deny",
"utterance_samples": [
"No",
"No no don't",
"Nope",
"Naa",
"No thanks",
"No I'm fine",
"Hell no"
]
}

View File

@ -52,6 +52,11 @@
"Vous parlez une nouvelle langue, veuillez me donner une seconde le temps que je m'adapte",
"Vous parlez une autre langue, un instant s'il vous plaît",
"Wow, vous parlez plusieurs langues, moi aussi ! Un instant je vous prie"
],
"random_language_not_supported": [
"Désolé, je ne parle pas encore cette langue",
"Vous êtes génial, mais je n'ai pas encore appris cette langue",
"Ça ressemble à une lautre langue que je ne peux pas comprendre pour le moment"
]
}
}

View File

@ -1,6 +0,0 @@
{
"options": {
"rouge": ["rouge"],
"bleu": ["bleu"]
}
}

View File

@ -0,0 +1,20 @@
{
"options": {
"rouge": {
"synonyms": ["rouge"],
"data": {
"usage": [
"..."
]
}
},
"bleu": {
"synonyms": ["bleu"],
"data": {
"usage": [
"..."
]
}
}
}
}

View File

@ -0,0 +1,28 @@
{
"options": {
"bas": {
"synonyms": ["bas", "basse"],
"data": {
"value": [
"LOW"
]
}
},
"moyen": {
"synonyms": ["moyen"],
"data": {
"value": [
"MEDIUM"
]
}
},
"haut": {
"synonyms": ["haut", "haute"],
"data": {
"value": [
"HIGH"
]
}
}
}
}

View File

@ -0,0 +1,17 @@
{
"name": "affirm",
"utterance_samples": [
"Oui",
"Yep",
"Yup",
"Ouais",
"Faisons ça",
"Bien sûr",
"Évidemment",
"Tout à fait",
"Correct",
"OK",
"C'est vrai",
"En effet"
]
}

View File

@ -0,0 +1,13 @@
{
"name": "deny",
"utterance_samples": [
"Non",
"Ne le fais pas",
"Nope",
"Non merci",
"Non ça va",
"C'est faux",
"Bien sûr que non",
"Fais pas ça"
]
}

View File

@ -1,13 +1,22 @@
{
"actions": {
"start": {
"type": "logic",
"type": "dialog",
"utterance_samples": [
"Let's play guess the number",
"I wanna play guess the number",
"Can we play guess the number?",
"I want to play a game like guess the number"
],
"slots": [
{
"name": "players_nb",
"entity": "number",
"answers": [
"How many players should I set?"
]
}
],
"output_context": [
"guessing"
]
@ -66,7 +75,12 @@
"Nope",
"Naa",
"No thanks",
"No I'm fine"
"No I'm fine",
"Okay",
"OK",
"Alright",
"Correct",
"Indeed"
],
"slots": [
{