-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
Problems being solved
- 1 - in some languages TTS utterances grammatical gender may depend on the gender of the person listening (the user)
- this can later be detected in STT audio via speaker-recognition
- gender recognition from audio is possible but not accurate, it is best to tie it to a enrolled speaker if possible
- 2 - in some languages TTS utterances grammatical gender may depend on the gender of the speaker (the assistant)
- eg. in portuguese you there is no gender neutral way to say
"thank you", you say"obrigado"/"obrigada" - this would be a setting of the voice assistant
- eg. in portuguese you there is no gender neutral way to say
- 3 - personality settings
"increase sarcasm by 20%"
Dialog Json
New file format, .jsonl, where each line in the file contains a json of the format
{"utterance": "XXX", "attitude": "sarcastic", "assistant_gender": "male", "listener_gender": "male", "weight": 0.3}jsonl format info: https://jsonlines.org
Personality Settings
in mycroft.conf users can tweak personality
weights reflect how likely a dialog is to be selected
"persona": {
"gender": "male",
"attitudes": {
"normal": 10,
"flippant": 8.0,
"funny": 8.0,
"irritable": 0
}
}How it works
- 1 - load
.jsonlfile if it exists, else old.dialogfile - 2 - filter samples per assistant gender
- 3 - select an attitude based on weights defined in
mycroft.conf - 4 - filter samples per attitudes
- 5 - select based on weights of
.jsonlfile
references
previous discussions
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested