GithubHelp home page GithubHelp logo

1984-knox / openai-chatbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from felipeoliveira-1/openai-chatbot

0.0 0.0 0.0 63 KB

This is a chatbot built with HTML, CSS and JavaScript that uses OpenAI's text-davinci-003 API engine to generate responses. It has a minimalist design and a floating widget that can be toggled open or closed. Users input messages, the API generates a response, and it's displayed in the chat window.

JavaScript 44.92% CSS 38.88% HTML 16.20%

openai-chatbot's Introduction

Openai-chatbot

This is a chatbot built with HTML, CSS and JavaScript that uses OpenAI's text-davinci-003 API engine to generate responses. It has a minimalist design and a floating widget that can be toggled open or closed. Users input messages, the API generates a response, and it's displayed in the chat window.

alt text

Chat AI

This is a simple chatbot project built using HTML, CSS and JavaScript, which utilizes OpenAI's text-davinci-003 API engine to generate responses to user input. The chatbot's design is minimalist and is represented by a floating widget that can be toggled open or closed. Users can input text messages which are then sent to the API, and the chatbot generates a response which is displayed on the chat window. The chatbot's responses are continuously improving over time as it learns from user interactions.

Installation

To run the chatbot, simply download the HTML, CSS and JavaScript files and open the HTML file in your preferred web browser.

Usage

To use the chatbot, simply click on the chat widget to open the chat window. You can input text messages in the chat input field and press enter or click the send button to send your message. The chatbot will then generate a response which will be displayed on the chat window.

API Key

The chatbot uses OpenAI's text-davinci-003 API engine to generate responses. To use the API, you will need to obtain an API key from OpenAI. You can sign up for an API key on the OpenAI website: https://beta.openai.com/signup/

Once you have obtained an API key, replace the OPENAI_API_KEY variable in the JavaScript file with your API key.

License

This project is licensed under the MIT License. Feel free to use and modify this project as you see fit.

openai-chatbot's People

Contributors

felipeoliveira-1 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.