just-ai / aimybox-android-sdk

Voice assistant SDK for Android
https://aimybox.com
Apache License 2.0
74 stars 16 forks source link

Make Async Response Feature Available #110

Closed sriramsv closed 2 years ago

sriramsv commented 2 years ago

I am trying to make a plugin for tasker using this SDK, the scenario in my mind is like this:

Note that the process here is async and there is no guarantee that tasker will send any response back for every sentence sent out. The current implementation of the SDK only allows the request-response to be a sequential process

Also, allowing async responses will allow tasker to start the assistant from the background while posing a question to the user. This behavior of the assistant will allow for proactive conversation from the assistant's side v/s always being reactive to the user's input.