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:
parent
1845eed71d
commit
969a83e608
28
core/data/en/entities/levels.json
Normal file
28
core/data/en/entities/levels.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"options": {
|
||||
"low": {
|
||||
"synonyms": ["low"],
|
||||
"data": {
|
||||
"value": [
|
||||
"LOW"
|
||||
]
|
||||
}
|
||||
},
|
||||
"medium": {
|
||||
"synonyms": ["medium"],
|
||||
"data": {
|
||||
"value": [
|
||||
"MEDIUM"
|
||||
]
|
||||
}
|
||||
},
|
||||
"high": {
|
||||
"synonyms": ["high"],
|
||||
"data": {
|
||||
"value": [
|
||||
"HIGH"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
18
core/data/en/intents/affirm.json
Normal file
18
core/data/en/intents/affirm.json
Normal 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"
|
||||
]
|
||||
}
|
12
core/data/en/intents/deny.json
Normal file
12
core/data/en/intents/deny.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "deny",
|
||||
"utterance_samples": [
|
||||
"No",
|
||||
"No no don't",
|
||||
"Nope",
|
||||
"Naa",
|
||||
"No thanks",
|
||||
"No I'm fine",
|
||||
"Hell no"
|
||||
]
|
||||
}
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"options": {
|
||||
"rouge": ["rouge"],
|
||||
"bleu": ["bleu"]
|
||||
}
|
||||
}
|
20
core/data/fr/entities/colors.json
Normal file
20
core/data/fr/entities/colors.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"options": {
|
||||
"rouge": {
|
||||
"synonyms": ["rouge"],
|
||||
"data": {
|
||||
"usage": [
|
||||
"..."
|
||||
]
|
||||
}
|
||||
},
|
||||
"bleu": {
|
||||
"synonyms": ["bleu"],
|
||||
"data": {
|
||||
"usage": [
|
||||
"..."
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
28
core/data/fr/entities/levels.json
Normal file
28
core/data/fr/entities/levels.json
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
17
core/data/fr/intents/affirm.json
Normal file
17
core/data/fr/intents/affirm.json
Normal 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"
|
||||
]
|
||||
}
|
13
core/data/fr/intents/deny.json
Normal file
13
core/data/fr/intents/deny.json
Normal 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"
|
||||
]
|
||||
}
|
@ -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": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user