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

Activities Event and Prompts #6528

Open
PascalHessler opened this issue Jul 27, 2022 · 1 comment
Open

Activities Event and Prompts #6528

PascalHessler opened this issue Jul 27, 2022 · 1 comment
Labels
Bot Services Required for internal Azure reporting. Do not remove. Do not change color. customer-reported Issue is created by anyone that is not a collaborator in the repository. feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@PascalHessler
Copy link

Version

4.14.1
Python 3.8.3

Describe the bug

The botframeworks allows us to send different activities (step_context.context.send_activities([])). Here we can for example use the ActivityTypes type of typing or just a normal message. This works fine, I always combine Typing delay and a Message. When I want to use a Prompt this does not work, it allows only for a message as argument for prompt and retrypompt. However, this does not make any sense. The idea of typing is to create the illusion that someone is actually typing, this should be possible when using a prompt. My solution right now is to send the typing in front of the prompt as well as the message, and have an empty argument in the PromptOptions. Unfortunatley, this seems to lead to a new issue with the handling of user inputs, sometimes it just ignores it.

Expected behavior

I would suggest, set PromptOptions accepts a list of activites not only Messages.

Additional context

In my specific case I also need to send a custom event when prompting and when retryprompt triggers. This is of course also not possible right now. (I use a workaround with the speak argument)#

Thank you very much.

@PascalHessler PascalHessler added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Jul 27, 2022
@stevkan stevkan added customer-reported Issue is created by anyone that is not a collaborator in the repository. Bot Services Required for internal Azure reporting. Do not remove. Do not change color. labels Jul 27, 2022
@tracyboehrer
Copy link
Member

Have you tried the ShowTypingMiddleware?

@munozemilio munozemilio added feature-request A request for new functionality or an enhancement to an existing one. and removed bug Indicates an unexpected problem or an unintended behavior. labels Aug 8, 2022
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 remove. Do not change color. customer-reported Issue is created by anyone that is not a collaborator in the repository. feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

4 participants