A bot that echoes back user response
This bot has been created using Bot Framework, it shows how to create a simple bot that accepts input from the user and echoes it back.
This sample requires prerequisites in order to run.
- Run
pip install -r requirements.txt
to install all dependencies - Run
python app.py
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 version 4.3.0 or greater from here
- Launch Bot Framework Emulator
- Enter a Bot URL of
http://localhost:3978/api/messages
- Bot Framework Documentation
- Bot Basics
- Dialogs
- Gathering Input Using Prompts
- Activity processing
- Azure Bot Service Introduction
- Azure Bot Service Documentation
- Azure CLI
- Azure Portal
- Language Understanding using LUIS
- Channels and Bot Connector Service
See this page for how to set up the virtual environment but you have it configured at /Documents/azurebot/
cd
into the azurebot repo on a cmd line.- Run
venv\Scripts\activate.bat
. cd
into the echo_bot dir.- Run
set OPENAI_API_KEY=YourKeyHere
. - Start the app with
python app.py
. - Connect to the Bot using the Bot Framework Emulator
-
Test web-scraper functionality - need to add a test site and make sure it picks the right elements.
-
Need to also update requirements and dependencies