assistant-sdk-cpp
assistant-sdk-cpp copied to clipboard
opening microphine automatically for multi turn situation.
hello,
what I want to do is that open the microphone resouce when the response from google assistant is re-asking, for example, Me: add my schedule G : what’s the title of schedule? Me : lunch with James. <— mic should re-open here. ...
I’ve tried several ways, but there’s insufficient of usable information to do that.
could you guide me how to implement multi-turn case?
thank you in advance.
When you get a response, you should be able to turn on the microphone programmatically.
Ideally this sample should be reading the value of dialog_state_out.microphone_mode to see if it is [DIALOG_FOLLOW_ON](https://github.com/googleapis/googleapis/blob/master/google/assistant/embedded/v1alpha2/embedded_assistant.proto#L408) and re-enable the mic in that case.
I'll leave this open as it's something that should be in the sample.