Detection of multiple sentences

I am playing around a bit with Rhasspy. One major disadvantage that i see is the impossibility (or am i wrong?) of detecting 2 sentences after each other ,as if it was one sentence actually.
Taking this from the main example:

whats the temperature
what time is it

So if i say: “whats the temperature what time is it” then it only detects one intent. I do not want to create one sentence for this because my final application will have multiple intents which i want freely to combine in one long sentence.
is there a solution for this? So i am actually looking for a freely spoken sentence which can detect multiple intents.

Unfortunately not. I know it’s probably not an ideal solution for you, but you could create an intent for starting and ending a “conversation”. “Let’s chat”, or “I need you to do a few things”. You can then use continue session to ask intents one after the other until you end the conversation.

1 Like

That’s an interesting idea you have stated. Would you give a simplified example to illustrate the syntax of that? At the moment I have huge problems with Rasspy understanding a sentence from 6 pieces in arbitrary order - whole intent recognition crushes… And I am searchng the soltion to this, which might be just what you have suggested.

Thx for the reply. That indeed would be a workaround, however for my application the conversation would be too much time consuming i’m afraid.

@koenieboy, if you use Home Assistant with Rhasspy then I recently did something similar that might fit your needs?

Essentially for every intent that you want to connect together, in HA make sure to end your related automation with a MQTT continueSession. Once you have finished your connected chain of commands then have an automation with a MQTT endSession.
I have singular commands and connected commands so I trigger continuous mode with an intent phrase “Enter continuous mode”, say my chain of commands and then have an intent to say “Exit continuous mode”. Normal singular commands are just performed as normal.

Hopefully this helps.


Sorry for the delay. Am i correct that the purpose of this Continuous mode is to continue the session after the first intent is recognized, so you don’t have to repeat the wakeup word again? If so then I assume there is still some delay between the recognition of the first intent and start listening again, meaning you still cannot say "Whats the temperature, what time is it? " in one sentence for example.
(btw i am not using HA)