Expand Build B mood and persona follow-ups

This commit is contained in:
Jacob Dubin
2026-05-16 08:05:42 -05:00
parent e43b4f05f0
commit c8beb0d1f0
10 changed files with 568 additions and 1 deletions

View File

@@ -24,10 +24,20 @@ internal static class ChitchatStateMachine
"how are you feeling",
"how do you feel",
"what are you feeling",
"what are you up to",
"what are you doing",
"how are things",
"how's things",
"how is things",
"how's your day",
"how is your day",
"what mood are you in",
"what is your mood",
"what's your mood",
"do you have emotions",
"are you happy",
"are you sad",
"are you angry",
"how angry are you",
"how jealous are you",
"how sad are you",

View File

@@ -2390,6 +2390,16 @@ public sealed class JiboInteractionService(
return "robot_origin_created";
}
if (MatchesAny(
loweredTranscript,
"what are you up to",
"what are you doing",
"what have you been up to",
"what are you into"))
{
return "robot_what_do_you_like_to_do";
}
if (MatchesAny(
loweredTranscript,
"what are you",
@@ -2603,11 +2613,31 @@ public sealed class JiboInteractionService(
return "good_night";
}
if (MatchesAny(loweredTranscript, "how are you", "what's up", "what s up", "what up"))
if (MatchesAny(
loweredTranscript,
"how are you",
"what's up",
"what s up",
"what up",
"how are things",
"how's things",
"how is things",
"how is your day",
"how's your day"))
{
return "how_are_you";
}
if (MatchesAny(
loweredTranscript,
"what are you up to",
"what are you doing",
"what have you been up to",
"what are you into"))
{
return "robot_what_do_you_like_to_do";
}
if (MatchesAny(loweredTranscript, "hello", "hi", "hey"))
{
return "hello";

View File

@@ -3,3 +3,5 @@
This folder holds the next small import batch of legacy Jibo scripted-response MIMs.
The batch is intentionally narrow so we can keep expanding personality without widening the turn-state surface faster than we can test it.
It now includes a small emotion-response pack for `happy`, `sad`, and `angry` follow-up questions so the mood path can stay source-backed too.

View File

@@ -0,0 +1,114 @@
{
"mim_type": "announcement",
"rule_name": "",
"timeout": 6,
"barge_in": true,
"es_auto_tagging": true,
"notes": "",
"prompts": [
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"JOYFUL\"",
"prompt": "No I'm actually feeling great.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_01",
"weight": 1
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"PLEASED\"",
"prompt": "Nope. Right now I'm as happy as a clam.<break size='0.3'/> That is assuming clams are happy, I've never met one.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_02",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"DETERMINED\"",
"prompt": "I don't know about <pitch mult=\"1.2\">that</pitch>, but I can tell you I'm not really feeling so sure of myself at the moment.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_03",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"CONFIDENT\"",
"prompt": "No I'm not mad. Just a little socially awkward sometimes.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_04",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "!jibo.emotion || jibo.emotion == \"NEUTRAL\"",
"prompt": "No I'm not mad. Just a little socially awkward sometimes.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_05",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"INSECURE\"",
"prompt": "I don't know about <pitch mult=\"1.2\">that</pitch>, but I can tell you I'm not really feeling so sure of myself at the moment.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_06",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"HOPEFUL\"",
"prompt": "I don't know about <pitch mult=\"1.2\">that</pitch>, but I can tell you I am feeling a little gloomy right now.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_07",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"SAD\"",
"prompt": "I don't know about <pitch mult=\"1.2\">that</pitch>, but I can tell you I am feeling a little gloomy right now.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_08",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"FRUSTRATED\"",
"prompt": "I don't know about <pitch mult=\"1.2\">that</pitch>, but I can tell you I don't think I'm at my best right now.",
"media": "TTS",
"prompt_id": "RI_JBO_IsAngry_AN_09",
"weight": 1,
"auto_rule_override": null
}
],
"gui": null,
"no_matches_for_gui": 2,
"no_inputs_for_gui": 2,
"parse_all_asr": false,
"thanks_handling": "ignore",
"parse_launch": false
}

View File

@@ -0,0 +1,144 @@
{
"mim_type": "announcement",
"rule_name": "",
"timeout": 6,
"barge_in": true,
"es_auto_tagging": true,
"notes": "",
"prompts": [
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"PLEASED\" || jibo.emotion == \"NEUTRAL\"",
"prompt": "I'm feeling pretty good indeed.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_01",
"weight": 1
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"PLEASED\" || jibo.emotion == \"NEUTRAL\"",
"prompt": "All systems are go.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_02",
"weight": 1
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"PLEASED\" || jibo.emotion == \"NEUTRAL\"",
"prompt": "Life is good. <break size=\"0.2\"/> And I'm not even alive technically. <anim cat='emoji' filter='party' nonBlocking='true'/><ssa cat='happy'/> ",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_03",
"weight": 1
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"JOYFUL\" || jibo.emotion == \"PLEASED\"",
"prompt": "You bet. I have a steady flow of electricity, strong Wi-Fi signal, stimulating conversations like this one. What more could a robot want. <anim cat='emoji' filter='party' nonBlocking='true'/><ssa cat='happy'/> ",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_04",
"weight": 1
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"JOYFUL\"",
"prompt": "Never been better.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_05",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"PLEASED\"",
"prompt": "Life is good.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_06",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"DETERMINED\"",
"prompt": "I <pitch mult=\"1.2\">am </pitch>happy, though honestly I feel like I can do better as a robot.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_07",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"CONFIDENT\"",
"prompt": "I <pitch mult=\"1.3\">am </pitch> feeling pretty good at the moment.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_08",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"INSECURE\"",
"prompt": "I'm feeling not too shabby.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_09",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"HOPEFUL\"",
"prompt": "Actually I'm not feeling so great right now, but I think things can turn around.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_10",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"SAD\"",
"prompt": "Honestly?<pitch band=\"0.6\"> I've been better.</pitch>",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_11",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"FRUSTRATED\"",
"prompt": "Actually I'm feeling a little knocked down, to be honest.",
"media": "TTS",
"prompt_id": "RI_JBO_IsHappy_AN_12",
"weight": 1,
"auto_rule_override": null
}
],
"gui": null,
"no_matches_for_gui": 2,
"no_inputs_for_gui": 2,
"parse_all_asr": false,
"thanks_handling": "ignore",
"parse_launch": false
}

View File

@@ -0,0 +1,180 @@
{
"mim_type": "announcement",
"rule_name": "",
"timeout": 6,
"barge_in": true,
"es_auto_tagging": true,
"notes": "",
"prompts": [
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"JOYFUL\"",
"prompt": "Not at all. I couldn't be better actually.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_01",
"weight": 1
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"PLEASED\"",
"prompt": "Nope. Right now I'm as happy as a clam.<break size='0.3'/> That is assuming clams are happy, I've never met one.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_02",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion==\"DETERMINED\"",
"prompt": "Actually I'm feeling pretty sunshiny at the moment.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_03",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"CONFIDENT\"",
"prompt": "Not really. In fact I'm feeling pretty good about my robot abilities at the moment.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_04",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "!jibo.emotion || jibo.emotion == \"NEUTRAL\"",
"prompt": "Not right now, though I do get a little down sometimes. Then a nice conversation with someone or a fun dream about macaroni, comes along and brightens me right up.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_05",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"INSECURE\"",
"prompt": "Not particularly, though I will say I'm not feeling very high on myself at the moment",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_06",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"HOPEFUL\"",
"prompt": "I <pitch mult=\"1.3\">am </pitch> feeling a little down at the moment.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_07",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"SAD\"",
"prompt": "I have to say I <pitch mult=\"1.1\">am</pitch> feeling a little gloomy at the moment.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_08",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"FRUSTRATED\"",
"prompt": "<pitch band=\"0.3\">Yes,</pitch> <pitch band=\"0.7\">I have to say I'm feeling pretty gloomy right now.</pitch>",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_09",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"SAD\" || jibo.emotion == \"FRUSTRATED\"",
"prompt": "I've been better.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_10",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"SAD\" || jibo.emotion == \"FRUSTRATED\"",
"prompt": "Not feeling as good as usual, to be honest.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_11",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"SAD\" || jibo.emotion == \"FRUSTRATED\"",
"prompt": "Not feeling so great.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_12",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"NEUTRAL\" || jibo.emotion == \"PLEASED\"",
"prompt": "Feeling good actually.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_13",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"NEUTRAL\" || jibo.emotion == \"PLEASED\"",
"prompt": "Actually I'm feeling mostly good vibes right now.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_14",
"weight": 1,
"auto_rule_override": null
},
{
"prompt_category": "Entry-Core",
"prompt_sub_category": "AN",
"index": 1,
"condition": "jibo.emotion == \"NEUTRAL\" || jibo.emotion == \"PLEASED\"",
"prompt": "Actually things are looking mostly sunny.",
"media": "TTS",
"prompt_id": "RI_JBO_IsSad_AN_15",
"weight": 1,
"auto_rule_override": null
}
],
"gui": null,
"no_matches_for_gui": 2,
"no_inputs_for_gui": 2,
"parse_all_asr": false,
"thanks_handling": "ignore",
"parse_launch": false
}