Hi,
Here is a test with sentence:
allume [dans] [la | le] ($house_room){house_room} et [dans] [la | le] ($house_room){house_room}
This give two entities, so it sounds correct:
{
"entities": [
{
"end": 20,
"entity": "house_room",
"raw_end": 20,
"raw_start": 15,
"raw_value": "salon",
"start": 15,
"value": "salon",
"value_details": {
"kind": "Unknown",
"value": "salon"
}
},
{
"end": 39,
"entity": "house_room",
"raw_end": 39,
"raw_start": 32,
"raw_value": "cuisine",
"start": 32,
"value": "cuisine",
"value_details": {
"kind": "Unknown",
"value": "cuisine"
}
}
],
"intent": {
"confidence": 1,
"name": "TurnOnJeedom"
},
"raw_text": "allume dans le salon et dans la cuisine",
"raw_tokens": [
"allume",
"dans",
"le",
"salon",
"et",
"dans",
"la",
"cuisine"
],
"recognize_seconds": 0.28465937002329156,
"slots": {
"house_room": "cuisine"
},
"speech_confidence": 1,
"text": "allume dans le salon et dans la cuisine",
"tokens": [
"allume",
"dans",
"le",
"salon",
"et",
"dans",
"la",
"cuisine"
],
"wakeword_id": null
}
But, I asked to turn on in two house_room slots, but got only one:
"slots": {
"house_room": "cuisine"
},
Having both would allow easy handling for such multiple slots/same intent sentence
"slots": {
"house_room": "cuisine,salon"
},