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

Adaptive Card Input Hint property not working #2893

Closed
manish-95 opened this issue Feb 10, 2020 · 4 comments
Closed

Adaptive Card Input Hint property not working #2893

manish-95 opened this issue Feb 10, 2020 · 4 comments
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.

Comments

@manish-95
Copy link

Version

4.7

Describe the bug

I have an adaptive card for which I am setting the inputHint value as "expectingInput". However, the mic is not automatically turned on, after the adaptive card speak property text is spoken.

Expected behavior

WebChat has to respect the inputHint property of the adaptive card and turn on the mic once the speech has ended.

Additional context

We are using the WebChat js locally file with Angular, and have made a small change to address issue #2560

@manish-95 manish-95 added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. Pending customer-reported Required for internal Azure reporting. Do not delete. labels Feb 10, 2020
@prashanthsridhar
Copy link

I am facing the same issue too

@clearab
Copy link

clearab commented Feb 10, 2020

@compulim & @tdurnford: Can one of you please take a look at this?

@tdurnford
Copy link
Contributor

tdurnford commented Feb 11, 2020

@manish-95 It looks like everything is working as expected. Per the Input Hint section in the Speech Documentation, the microphone should only open if the last message from the user was sent using the microphone.

The bot can set input hint when sending activity to the user to indicate whether the bot is anticipating user input. This can be used to re-open the microphone if the last message was sent through microphone.

If you use the microphone to send a message to bot and the bot responds with an activity with the inputHint set to 'expectingInput', the microphone should re-open. Otherwise, the microphone should remain closed.

@tdurnford tdurnford added customer-replied-to Required for internal reporting. Do not delete. and removed bug Indicates an unexpected problem or an unintended behavior. Pending labels Feb 11, 2020
@manish-95
Copy link
Author

@tdurnford My requirement is to turn on the mic after the welcome adaptive card, before the user has had a chance to previously use the mic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.
Projects
None yet
Development

No branches or pull requests

5 participants