Add support for "stop" action in SUSI response
See original GitHub issueActual Behaviour
Currently, new ‘stop’ action is introduced but the action is not implemented.
Expected Behaviour
With stop
input SUSI should stop anything it’s doing at that time. ‘stop’ action is introduced to enable user to make SUSI stop anything it’s doing.
Try to make SUSI respond to “Stop” (e.g. SUSI is narrating a story and if the user says STOP, it should stop narrating the story).
Steps to reproduce it
Ask SUSI stop, you will get the following actions object:
"actions": [{"type": "stop"}],
Helpful Links: skill_link
Sample JSON Response:
{
query: "stop",
count: 1,
client_id: "aG9zdF8xNzIuNjguMTQ0LjU3X2Q5NzI1MGMx",
query_date: "2018-05-19T22:18:48.641Z",
answers:
[
{
data:
[
{
0: "stop",
actions:
[
{
type: "stop"
}
],
token_original: "stop",
token_canonical: "stop",
token_categorized: "end",
timezoneOffset: "-330",
language: "en",
skill_link: "https://github.com/fossasia/susi_server/blob/development/conf/susi/en_0001_foundation.txt",
query: "stop",
skill: "/susi_server/conf/susi/en_0001_foundation.txt"
},
{
skill_link: "https://github.com/fossasia/susi_server/blob/development/conf/susi/en_0001_foundation.txt",
query: "stop",
skill: "/susi_server/conf/susi/en_0001_foundation.txt"
},
{
skill_link: "https://github.com/fossasia/susi_server/blob/development/conf/susi/en_0001_foundation.txt",
query: "stop",
skill: "/susi_server/conf/susi/en_0001_foundation.txt"
},
{
skill_link: "https://github.com/fossasia/susi_server/blob/development/conf/susi/en_0700_ai_play.json",
query: "hey susi",
skill: "/susi_server/conf/susi/en_0700_ai_play.json"
}
],
metadata:
{
count: 4
},
actions:
[
{
type: "stop"
}
],
skills:
[
"/susi_server/conf/susi/en_0001_foundation.txt"
],
persona: { }
}
],
answer_date: "2018-05-19T22:18:48.646Z",
answer_time: 5,
language: "en",
session:
{
identity:
{
type: "host",
name: "172.68.144.57_d97250c1",
anonymous: true
}
}
}
Screenshots of the issue
N/A
Would you like to work on the issue?
No
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Renewal Applications - SUSI
Renewal Applications · Step 1 Apply · Step 2 SUSI Receive Response Letter from SUSI · Step 3 Receive your payment (if awarded)....
Read more >Starting and stopping systemd services - SUSE Documentation
It is a best practice to use systemctl to stop services, rather than the ps command. A systemd service can include commands, processes, ......
Read more >Fix SUSE update infrastructure registration on EC2 instances
I want to install or update packages on my Amazon Elastic Compute Cloud (Amazon EC2) SUSE instance. I'm unable to register my EC2...
Read more >Study of the U.S. Institutes (SUSI) For Global Student Leaders
During the SUSI program and with support from staff at the Institutes, each participant designs and plans a Community Action Project that employs...
Read more >SUSI.AI - fossasia
There are various kinds of gestures supported by android. Some of them are: ... Adding 3D Home Screen Quick Actions to SUSI iOS...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@prateekiiest @mariobehling yes, it can be closed since it is implemented on all the clients.
Thanks @imjog , I’ll try to implement it in susi_linux