-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Buttons click handling MS Botframework #8164
Comments
Exalate commented: m-vdb commented: Hi @thaume and thanks for creating this GitHub issue. Would you be up for submitting a pull request? We'll gladly review it |
Exalate commented: thaume commented: Hi @m-vdb sure ! I just wanted to double check with you first that this was of interest and made sense for the project |
Exalate commented: stale[bot] commented: This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hey! Is this issue still open for contribution? I would like to help solve it |
yes it it 🎉 Another contributor had submitted a PR a while ago, but it's currently stale. Feel free to take a look at the code they wrote (and the review comments that were shared) :) |
Hey everyone, Just FYI @guilhermemoraisr, only tests are missing. It's very possible the code doesn't work with the latest version of MS Botframework tho The project I was working on for bot framework was finished about a year ago so I don't use it anymore but happy to help if you have questions! |
➤ Maxime Verger commented: 💡 Heads up! We're moving issues to Jira: https://rasa-open-source.atlassian.net/browse/OSS. From now on, this Jira board is the place where you can browse (without an account) and create issues (you'll need a free Jira account for that). This GitHub issue has already been migrated to Jira and will be closed on January 9th, 2023. Do not forget to subscribe to the corresponding Jira issue! ➡️ More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569. |
Rasa version: 2.3.0
Rasa SDK version (if used & relevant): Nope
Rasa X version (if used & relevant): Nope
Python version: I'm using the provided dockerfile to build and run Rasa
Operating system (windows, osx, ...): MacOS, but again rasa is running in Docker
Issue:
I'm having an issue with handling buttons clicks coming from Teams. The way Teams handles clicks and text input is different and right now the Botframework Rasa connector (that was built by my company 2 years ago) doesn't support that.
We have a working version that we keep up to date with the master repo from time to time but I think it would make more sense to take the time to merge it.
And... it's just 6 lines of code
😅
Error (including full traceback): This is the stacktrace shown by Rasa after a click on a button
2021-03-10 09:47:44 DEBUG rasa.core.processor - Received user message '' with intent '
{'name': None, 'confidence': 0.0}
' and entities '[]'
Command or request that led to error: After writing and sending a message ("Home") to Rasa from Teams, this JSON is sent to rasa endpoint :
After clicking on a button from a card (created by the chatbot) on Teams, this JSON is sent to rasa endpoint :
As you can see, the
text
key is present only when sending data as text but not when clicking on a button (the button's data is inside avalue
dict).Right now this data is handled here : https://github.com/RasaHQ/rasa/blob/main/rasa/core/channels/botframework.py#L236
And we are handling it like that on our repo :
How would you like to solve this problem ?
Thanks !
Content of configuration file (config.yml) (if relevant): not modified
Content of domain file (domain.yml) (if relevant): not modified
The text was updated successfully, but these errors were encountered: