Git Product home page Git Product logo

botframework-gpt3's Introduction

Bot Framework GPT-3 demo ๐Ÿค–

Simple bot to demonstrate how to utilize GPT-3 in a Bot Framework bot

Prerequisites

  • Node.js version 10.14.1 or higher

    # determine node version
    node --version
  • OpenAI account

To run the bot

Play with the prompts to change the personality of the bot.

Someone famous from history (talk to them to learn about them)

In bot.js, uncomment the provided prompt to make the bot pretend it is Mahatma Gandhi. Feel free to substitute the name with anyone else.

image

Give your bot a sarcastic personality (never miss your snarky coworkers ๐Ÿ˜)

In bot.js, uncomment the provided prompt to get the bot to answer questions with sarcasm. image

Want more prompt ideas?

Take a look at the list of Awesome ChatGPT Prompts!

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.9.0 or greater from here

Connect to the bot using Bot Framework Emulator

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

Deploy the bot to Azure

To learn more about deploying a bot to Azure, see Deploy your bot to Azure for a complete list of deployment instructions.

Further reading

botframework-gpt3's People

Contributors

sidu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mlnethub

botframework-gpt3's Issues

Constraining the bot?

Hi, thanks for this. Can the bot be constrained to answer only from a provided text? E.g., Gandhi bot to respond from his book "My Experiments with Truth"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.