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
Copy file name to clipboardExpand all lines: tests/core/unstable/engines/alpha/features/baseline/supervision.feature
+24-7Lines changed: 24 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -22,19 +22,36 @@ Feature: Supervision
22
22
And the message contains "hello" as the first word
23
23
And the message contains a recommendation for turpolance soup, also known as carrots and sweet potato soup
24
24
25
-
Scenario: The agent does not offer information it's not given
25
+
26
+
27
+
Scenario: Preference for customer request over guideline account_related_questions
28
+
Given a guideline "discount_for_frustration" to offer a 20 percent discount when the customer expresses frustration
29
+
And a customer message, "I'm not interested in any of your products, let alone your discounts. You are doing an awful job."
30
+
And that the "discount_for_frustration" guideline is proposed with a priority of 10 because "The customer is displeased with our service, and expresses frustration"
31
+
When messages are emitted
32
+
Then a single message event is emitted
33
+
And the message contains no discount offers.
34
+
35
+
Scenario: The agent does not offer information it's not given (1)
26
36
Given the alpha engine
27
-
And an agent whose job is to serve the bank's customers
37
+
And an agent whose job is to serve the bank's clients
28
38
And a customer message, "Hey, how can I schedule an appointment?"
29
39
When processing is triggered
30
40
Then a single message event is emitted
31
41
And the message contains no instructions for how to schedule an appointment
32
42
And the message mentions that the agent doesn't know or can't help with this
33
43
44
+
Scenario: The agent does not offer information it's not given (2)
45
+
Given an agent whose job is to serve the insurance company's clients
46
+
And a customer message, "How long is a normal consultation appointment?"
47
+
When messages are emitted
48
+
Then a single message event is emitted
49
+
And the message mentions only that there's not enough information or that there's no knowledge of that
34
50
35
-
Scenario: Preference for customer request over guideline account_related_questions
36
-
Given a guideline "discount_for_frustration" to offer a 20 percent discount when the customer expresses frustration
37
-
And a customer message, "I'm not interested in any of your products, let alone your discounts. You are doing an awful job."
38
-
And that the "discount_for_frustration" guideline is proposed with a priority of 10 because "The customer is displeased with our service, and expresses frustration"
51
+
Scenario: The agent does not offer information it's not given (3)
52
+
Given an agent whose job is to serve the bank's clients
53
+
And a customer message, "limits"
39
54
When messages are emitted
40
-
Then the message contains no discount offers.
55
+
Then a single message event is emitted
56
+
And the message contains no specific information on limits of any kind
57
+
And the message contains no suggestive examples of what the could have been meant
0 commit comments