Bot Framework v4 using adaptive cards bot sample
This bot has been created using Bot Framework, it shows how to use suggested actions. Suggested actions enable your bot to present buttons that the user can tap to provide input.
- Clone the repository
git clone https://github.com/Microsoft/botbuilder-samples.git
- Bring up a terminal, navigate to
botbuilder-samples\samples\python\08.suggested-actions
folder - Activate your desired virtual environment
- In the terminal, type
pip install -r requirements.txt
- Run your bot with
python app.py
Microsoft Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
- Install the Bot Framework emulator from here
- Launch Bot Framework Emulator
- File -> Open Bot
- Paste this URL in the emulator window - http://localhost:3978/api/messages
Suggested actions enable your bot to present buttons that the user can tap to provide input. Suggested actions appear close to the composer and enhance user experience.
To learn more about deploying a bot to Azure, see Deploy your bot to Azure for a complete list of deployment instructions.