@Paolo Scomparin Thanks for the question. Can you please share the sample that you are trying.
Client applications use the Speech Services SDK to connect to Direct Line Speech channel and their Bot. See “Custom voice-first virtual assistants” for more info and faq for voice assistants.
Speech Custom Commands: send activity to client with confirm of the result

Hello,
i am exploring a custom command solution for a project, i see it is possible to send a activity (like json) to the client and this works fine. However, I have not found a way to give confirmation by the client of the execution of the activity.
The idea is to conditioning the response depending on the state of the client or some condition (always client side).
I imagine a flow like this:
1) The user invokes the command
2) It is recognized
3) The activity is sent to the client
4) the client gives OK or KO via an activity sent to the session channel
5) The result is reproduced through speech sentence
There is a way to implement this flow ?
(some cases can be resolved to update the context or global params from client , and check this params with conditions, but is not the right way for all situations)
It's maybe more correct for this type of solution to use a bot (DirectSpeechLine) project ?
Thanks,
Paolo
P.s. This approch is present for an invokation of an webendpoint.
Azure AI Speech
Azure AI services
1 answer
Sort by: Most helpful
-
Ramr-msft 17,826 Reputation points
2021-07-26T06:29:58.677+00:00