This commit is contained in:
1 parent
1fffed8ab3
commit
cb035751d2
2 files changed
+3
-1
No files matched your search
@@ -9,7 +9,8 @@ import re
|
||||
_BACKGROUND_TASK_RE = re.compile(
|
||||
r"\b(?:"
|
||||
r"latest|news|current events?|headlines?|prices?|scores?|"
|
||||
r"research|look\s+up|search(?:\s+for)?|find\s+out|investigate|"
|
||||
r"research|look\s+(?:up|online)|search(?:\s+(?:for|online|the\s+web))?|"
|
||||
r"browse(?:\s+(?:online|the\s+web))?|find(?:\s+out)?|investigate|recipes?|"
|
||||
r"compare|comparison|pros\s+and\s+cons|"
|
||||
r"plan|itinerary|schedule|"
|
||||
r"write|draft|compose|rewrite|"
|
||||
|
||||
@@ -26,6 +26,7 @@ from task_worker import TaskWorker # noqa: E402
|
||||
"Look up the current price of a PlayStation 5.",
|
||||
"Research the latest solid state battery developments.",
|
||||
"Tell me about quantum computing.",
|
||||
"Look online and give me a recipe for making buttercream icing.",
|
||||
],
|
||||
)
|
||||
def test_nontrivial_requests_force_dispatch(utterance):
|
||||
|
||||
Reference in new issue
Block a user