Skip to content

This is a web-based chatbot utilizing HTML, CSS, and JavaScript, with the OpenAI API. It engages users in real-time conversations, showcasing AI-driven natural language processing and customizable persona features.

Notifications You must be signed in to change notification settings

mdharoonhussain/ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot Project

Overview

This project is a simple chatbot created using HTML, CSS, JavaScript, and the OpenAI API. The chatbot interacts with users, providing responses based on AI-driven natural language processing. It serves as a fun and educational example of how to integrate AI into web applications.

Chatbot Demo

Features

  • Real-time chat interface.
  • AI-driven responses powered by the OpenAI API.
  • Customizable chatbot persona and interactions.

Usage

  1. Clone this repository: git clone https://github.com/yourusername/chatbot-project.git cd chatbot-project

  2. Open index.html in your web browser.

  3. Start chatting with the chatbot.

Configuration

To configure the chatbot's behavior, you can customize the OpenAI API key and adjust persona details in the JavaScript code (script.js).

// Configure OpenAI API
const openai = new OpenAI({
key: 'your-openai-api-key-here',
language: 'en', // or your preferred language
});

// Define chatbot persona and interactions
const chatbotPersona = {
name: 'ChatBot',
avatar: '/path-to-avatar.png',
};

About

This is a web-based chatbot utilizing HTML, CSS, and JavaScript, with the OpenAI API. It engages users in real-time conversations, showcasing AI-driven natural language processing and customizable persona features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published