A bot is an app that users interact with in a conversational way, using text, graphics (such as cards or images), or speech. Every interaction between the user and the bot generates an activity. The Bot Framework Service, which is a component of the Azure Bot Service, sends information between the user’s bot-connected app (such as Facebook, Skype, etc. which we call the channel) and the bot. Each channel may include additional information in the activities they send.
For more information. Refer Microsoft Documentation.
- Visual Studio 2017 and above
- Bot Framework Template
- Bot Emulator
Steps to Create Core Bot:
Once templates are downloaded, you can see the 8 new AI Bots project types are added.
Select Core Bot (Bot Framework v4 – .NET Core 3.1) from the project type and click next. Give the project name and create project.
Once the project get created, below is the project structure will be shown in solution explorer. Make sure all the dependencies is installed. Once installed, the Yellow warning sign on the Dependencies will automatically removed.
Run the project using Cntrl + F5 or Click on Debug -> Run without debugging.
A default html page opens which shows the URL to connect your bot.
Open Emulator, click Open Bot.
Paste the URL and click connect.
Now you will be able to chat with bot locally.