shaadclt / Chatbot-Javascript-HTML-CSS

A simple chatbot implementation using JavaScript and integration with the OpenAI GPT-3.5 Turbo model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript Chatbot with OpenAI GPT-3.5 Turbo

A simple chatbot implementation using JavaScript and integration with the OpenAI GPT-3.5 Turbo model.

Features

  • User-friendly chat interface.
  • Integration with OpenAI GPT-3.5 Turbo.
  • Responsive design for mobile and desktop.

Prerequisites

  • Modern web browser
  • Code editor (e.g., Visual Studio Code)

Installation

git clone https://github.com/shaadclt/Chatbot-Javascript-HTML-CSS.git

Usage

  1. Open index.html in a web browser.

  2. Interact with the chatbot by entering messages in the input field.

  3. Explore the chatbot's responses.

Configuration

Update the API_KEY variable in script.js with your actual OpenAI GPT-3.5 Turbo API key.

const API_KEY = "PASTE-YOUR-API-KEY"; // Paste your API key here

Customization

Feel free to customize the chatbot appearance and behavior by modifying the HTML, CSS, and JavaScript files.

License

This project is licensed under the MIT License.

Acknowledgments

BootstrapMade.com for the original template.

Contact

For any inquiries or feedback, please contact shaadclt@gmail.com.

About

A simple chatbot implementation using JavaScript and integration with the OpenAI GPT-3.5 Turbo model.


Languages

Language:CSS 43.4%Language:JavaScript 40.0%Language:HTML 16.6%