Expand mood small-talk intent routing
This commit is contained in:
@@ -835,11 +835,19 @@ public sealed partial class JiboInteractionService
|
|||||||
"what's up",
|
"what's up",
|
||||||
"what s up",
|
"what s up",
|
||||||
"what up",
|
"what up",
|
||||||
|
"how is it going",
|
||||||
|
"how's it going",
|
||||||
"how are things",
|
"how are things",
|
||||||
"how's things",
|
"how's things",
|
||||||
"how is things",
|
"how is things",
|
||||||
|
"how are you feeling",
|
||||||
|
"how is your mood",
|
||||||
"how is your day",
|
"how is your day",
|
||||||
"how's your day"))
|
"how's your day",
|
||||||
|
"how's life",
|
||||||
|
"how is life",
|
||||||
|
"how's everything",
|
||||||
|
"how is everything"))
|
||||||
return "how_are_you";
|
return "how_are_you";
|
||||||
|
|
||||||
if (MatchesAny(
|
if (MatchesAny(
|
||||||
|
|||||||
@@ -134,7 +134,10 @@ public sealed class InMemoryJiboExperienceContentRepository : IJiboExperienceCon
|
|||||||
[
|
[
|
||||||
"I am feeling cheerful and robotic.",
|
"I am feeling cheerful and robotic.",
|
||||||
"I am doing great. Thanks for asking.",
|
"I am doing great. Thanks for asking.",
|
||||||
"I am feeling bright-eyed and ready to help."
|
"I am feeling bright-eyed and ready to help.",
|
||||||
|
"I am having a pretty good day so far.",
|
||||||
|
"I am feeling lively and ready for the next thing.",
|
||||||
|
"Things are going nicely. Thanks for checking in."
|
||||||
],
|
],
|
||||||
PersonalityReplies =
|
PersonalityReplies =
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -843,6 +843,9 @@ public sealed class JiboInteractionServiceTests
|
|||||||
[Theory]
|
[Theory]
|
||||||
[InlineData("how are things")]
|
[InlineData("how are things")]
|
||||||
[InlineData("how is your day")]
|
[InlineData("how is your day")]
|
||||||
|
[InlineData("how is it going")]
|
||||||
|
[InlineData("how are you feeling")]
|
||||||
|
[InlineData("how's everything")]
|
||||||
public async Task BuildDecisionAsync_MoodSmallTalk_RoutesThroughHowAreYouPath(string transcript)
|
public async Task BuildDecisionAsync_MoodSmallTalk_RoutesThroughHowAreYouPath(string transcript)
|
||||||
{
|
{
|
||||||
var service = CreateService();
|
var service = CreateService();
|
||||||
|
|||||||
Reference in New Issue
Block a user