In this video, we'll expand on the bot we built in my previous Webex bot video. This time we'll take a look at expanding the functionality using Adaptivecards. Using the adaptivecardbuilder Python module, we can easily & dynamically build cards to send via our bot - which helps make a more interactive user experience.
Additional details in the blog: https://0x2142.com/webex-chatbot-with...
Example code from the demo: https://github.com/0x2142/example-scr...
Link to Microsoft's Adaptive Card Designer: https://www.adaptivecards.io/designer/
Links / Follow me elsewhere:
Blog: https://0x2142.com
Twitter: / 0x2142
Mastodon/Fediverse: @[email protected]
GitHub: https://github.com/0x2142
If this video was helpful to you, please consider subscribing & sharing! Please leave a comment if you would like similar content! Thank you!!!
Want to support this channel? Buy me a coffee: https://www.buymeacoffee.com/0x2142
Thanks for watching!
Matt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chapters:
0:00 - Intro / About Adaptive Cards
2:00 - Using Adaptive Card Designer to Build an Input Card
6:56 - Webex Bot - Sending a Static Input Card
9:43 - Modifying Bot to use Card Submission Input
12:28 - AdaptiveCardBuilder Python Module
13:23 - Building a Dynamic Response Card
18:48 - Second Method for Building Dynamic Cards & Adding Sub-cards
Standard Disclaimer: Any comments / opinions here are my own, and do not represent my current or former employers.