You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this would correspond to a integer from 0 - 10, added to Session
0 corresponds to the default, it means a skill should speak only essential messages
10 corresponds to the skill speaking a lot, ideally explaining everything it is doing along the way
a skill would check for self.verbosity_level (session aware) and conditionally speak more messages, backwards compat is retained
ifself.verbosity_level>3:
self.speak("extra info")
ifself.verbosity_level>=9:
self.speak("extra very redundant info")
using session allows verbosity level to be set per client (such as hivemind voice satellites), the default value would come from mycroft.conf as usual. a companion skill can also be made to control this by voice
The text was updated successfully, but these errors were encountered:
0 is the minimum ammount of speech, and needs to correspond to current behavior for compat reasons
if a self.speak is optional then the skill dev can require other verbosity level, we should not force 0 to mean silent, some messages might be mission critical and very important
dont want the carbon monoxide leak detector to not speak because you said "good night mycroft" right?
i propose adding a new concept of VerbosityLevel
this would correspond to a integer from 0 - 10, added to
Session
a skill would check for
self.verbosity_level
(session aware) and conditionally speak more messages, backwards compat is retainedusing session allows verbosity level to be set per client (such as hivemind voice satellites), the default value would come from
mycroft.conf
as usual. a companion skill can also be made to control this by voiceThe text was updated successfully, but these errors were encountered: