|
27 | 27 | def test_detect_intent_positive():
|
28 | 28 | response_text = detect_intent_with_event_input(
|
29 | 29 | PROJECT_ID,
|
30 |
| - 'global', |
| 30 | + "global", |
31 | 31 | AGENT_ID,
|
32 |
| - 'sys.no-match-default', |
33 |
| - 'en-us', |
| 32 | + "sys.no-match-default", |
| 33 | + "en-us", |
34 | 34 | )
|
35 | 35 | assert response_text in [
|
36 |
| - 'Can you say that again?', |
37 |
| - 'I didn\'t get that. Can you repeat?', |
38 |
| - 'I didn\'t get that. Can you say it again?', |
39 |
| - 'I missed that, say that again?', |
40 |
| - 'I missed what you said. What was that?', |
41 |
| - 'One more time?', |
42 |
| - 'Say that one more time?', |
43 |
| - 'Sorry, can you say that again?', |
44 |
| - 'Sorry, could you say that again?', |
45 |
| - 'Sorry, I didn\'t get that. Can you rephrase?', |
46 |
| - 'Sorry, what was that?', |
47 |
| - 'What was that?', |
| 36 | + "Can you say that again?", |
| 37 | + "I didn't get that. Can you repeat?", |
| 38 | + "I didn't get that. Can you say it again?", |
| 39 | + "I missed that, say that again?", |
| 40 | + "I missed what you said. What was that?", |
| 41 | + "One more time?", |
| 42 | + "Say that one more time?", |
| 43 | + "Sorry, can you say that again?", |
| 44 | + "Sorry, could you say that again?", |
| 45 | + "Sorry, I didn't get that. Can you rephrase?", |
| 46 | + "Sorry, what was that?", |
| 47 | + "What was that?", |
48 | 48 | ]
|
0 commit comments