Git Product home page Git Product logo

coapp's Introduction

Dash GPT-3 Chatbot

Disclaimer: This app was created to help you learn Dash and try the OpenAI API beta. Feel free to use the source code for building private prototypes. If you are planning to deploy GPT-3 based apps, please make sure to reach out to [email protected] for a proper review.

demo

This demo shows you how to build a chatbot with GPT-3. It features a highly customized UI without stepping out of Python.

The image was generated with StyleGAN v2.

This is the description we gave to GPT-3: snippet

For a smoother demo, watch the YouTube video here.

OpenAI GPT-3 API Access

In order to obtain access to the GPT-3 API, you will need to join the waitlist. Once you have the API, you can find the secret key in the quickstart, and export it as an environment variable:

export OPENAI_KEY="xxxxxxxxxxx"

Where "xxxxxxxxxxx" corresponds to your secret key.

Instructions

To get started, first clone this repo:

git clone https://github.com/plotly/dash-sample-apps.git
cd dash-sample-apps/apps/dash-gpt3-bars

Create a conda env:

conda create -n dash-gpt3-bars python=3.7.6
conda activate dash-gpt3-bars

Or a venv (make sure your python3 is 3.6+):

python3 -m venv venv
source venv/bin/activate  # for Windows, use venv\Scripts\activate.bat

Install all the requirements:

pip install -r requirements.txt

You can now run the app:

python app.py

and visit http://127.0.0.1:8050/.

Discussions

If you are interested in chatting with us about the technical aspect of this, or would like to share the Dash apps you created with your own OpenAI API tokens, join the discussion thread.

GPT-3 for Enterprises

If you are interested to use Dash and GPT-3 in an enterprise setting, please reach out, and we'd be happy to discuss how we can help with Dash Enterprise.

coapp's People

Contributors

co-tran-sp avatar cotran2 avatar

Watchers

 avatar

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.