Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unittests/get_response_reprompting #363

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ovos-plugin-manager<0.1.0, >=0.0.24a9
ovos-config~=0.0,>=0.0.11a13
ovos-lingua-franca>=0.4.7
ovos-backend-client>=0.1.0a12
ovos-workshop<0.1.0, >=0.0.13a9
ovos-workshop<0.1.0, >=0.0.13a10

# provides plugins and classic machine learning framework
ovos-classifiers<0.1.0, >=0.0.0a37
7 changes: 6 additions & 1 deletion test/end2end/session/skill-converse_test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ def handle_intent_aborted(self):

@intent_file_handler("test_get_response.intent")
def handle_test_get_response(self, message):
ans = self.get_response("get")
ans = self.get_response("get", num_retries=1)
self.speak(ans or "ERROR")

@intent_file_handler("test_get_response3.intent")
def handle_test_get_response3(self, message):
ans = self.get_response(num_retries=3)
self.speak(ans or "ERROR")

@killable_intent(callback=handle_intent_aborted)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
3 prompts
three prompts
Loading
Loading