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

Custom Commands Integration with DirectLine Speech #510

Open
manish-95 opened this issue Jul 30, 2020 · 1 comment
Open

Custom Commands Integration with DirectLine Speech #510

manish-95 opened this issue Jul 30, 2020 · 1 comment

Comments

@manish-95
Copy link

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Expected/desired behavior

A sample that combines Custom Commands with Directline Speech, showing the capabilities of Custom Commands in conjunction with a Bot. This could also show how this combination varies from a simple Bot connected via DirectLine, with speech capabilities enabled

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

@albanoandrea
Copy link

Don't know if it was the purpose of this post, but we would like to send some information from the device to the bot to take a decision, without any other big modification.
For starting it would be enough to send a single string, but it would be nice to send a json.

We have successfully sent custom data from the Bot to the device in this way:

                    Activity my_activity = new Activity();
                    my_activity.Type = "custom";
                    my_activity.Action = "Turn on";
                    await turnContext.SendActivityAsync(my_activity, cancellationToken);

But on the opposite side we would like to send the information together with the audio, so that the Bot will receive it when the STT recognize the intent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants