Skip to content
/ azurebot Public

A basic Azure Bot that makes calls to OpenAI.

Notifications You must be signed in to change notification settings

emdeh/azurebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Original README

echo_bot

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.

Prerequisites

This sample requires prerequisites in order to run.

Install Python 3.6

Running the sample

  • Run pip install -r requirements.txt to install all dependencies
  • Run python app.py

Testing the bot using Bot Framework Emulator

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

Connect to the bot using Bot Framework Emulator

  • Launch Bot Framework Emulator
  • Enter a Bot URL of http://localhost:3978/api/messages

Further reading

Further notes

starting the Virtual Environment and launching the app

See this page for how to set up the virtual environment but you have it configured at /Documents/azurebot/

  1. cd into the azurebot repo on a cmd line.
  2. Run venv\Scripts\activate.bat.
  3. cd into the echo_bot dir.
  4. Run set OPENAI_API_KEY=YourKeyHere.
  5. Start the app with python app.py.
  6. Connect to the Bot using the Bot Framework Emulator

To do

  1. Test web-scraper functionality - need to add a test site and make sure it picks the right elements.

  2. Need to also update requirements and dependencies

About

A basic Azure Bot that makes calls to OpenAI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages