Mycroft Community Forum

Using session id with recognizer_loop:utterance

Hello,
I’m working on a project that uses the recognizer_loop:utterance message type to send an utterance directly to a running mycroft instance. In the parameters for recognizer_loop:utterance, it asks for a session. I can’t find any documentation on this outside of the message types page. I was wondering the following:

  • Is it deprecated? If not, is there any documentation on it?

  • Can I set this value to whatever I want it to be?

  • Can this be used to distinguish various input sources going into a single mycroft instance? If not, is there something else that can be used for this.

  • Can I access this session id variable from a skill’s code similar to how padatious uses"message.data.get(‘variable’)"?

Links: https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mycroft-core/message-types#recognizer_loop-utterance