Skip to content

nishitsaha52/AI-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI Chatbot

Introduction 📚

Welcome to the AI Chatbot project! This application leverages advanced AI technologies to provide a versatile and interactive chatbot experience. Developed using ReactJS, NodeJS, MongoDB, and the OpenAI API, the chatbot features a range of capabilities from identifying image URLs to generating sci-fi images, making it a robust tool for various use cases.

AI Chatbot


Table of Contents


Technologies Used 💻

  • ReactJS: Frontend framework for building user interfaces.
  • NodeJS: Backend runtime for executing JavaScript code server-side.
  • MongoDB: NoSQL database for storing user data and chatbot interactions.
  • OpenAI API: Provides AI models for generating human-like text and images.

Features ✨

  • 🔍 Image URL Identifier: Detects and identifies objects within images from URLs.
  • 💼 Professional Chatbot: Engages in professional conversations suitable for business environments.
  • 🗣️ Human-like Chatbot: Mimics human conversation with advanced natural language processing.
  • 🔊 Text to Speech: Converts chatbot responses into audible speech.
  • 🎙️ Speech to Text: Transcribes spoken input into text for chatbot processing.
  • 🌌 Sci-fi Image Generator: Creates futuristic and sci-fi themed images.
  • 🖼️ Image Generator: Generates images based on user input and prompts.
  • ✍️ Paragraph Generator: Produces coherent paragraphs of text from given prompts.
  • 🔐 Integrated Google and GitHub Login: Allows users to log in using their Google or GitHub accounts for a seamless experience.

Installation 🛠️

Prerequisites

  • NodeJS (v14 or higher)
  • MongoDB
  • OpenAI API Key

Steps

  1. Clone the Repository

    git clone https://github.com/yourusername/ai-chatbot.git
    cd ai-chatbot
  2. Install Dependencies

    npm install
    cd client
    npm install
    cd ..
  3. Setup Environment Variables Create a .env file in the root directory and add the following:

    OPENAI_API_KEY=your_openai_api_key
    MONGODB_URI=your_mongodb_connection_string
    PORT=5000
  4. Start the Application

    npm run dev

Usage 🚀

  1. Open the Application Navigate to http://localhost:5000 in your web browser.

  2. Login Use Google or GitHub to log in.

  3. Interact with the Chatbot

    • Type or speak your questions and commands.
    • Use features like image generation, text to speech, and more.

System Snapshots 📸

  1. Login Page Login Page

    • Integrated Google and GitHub login for user authentication.
  2. Chat Interface Chat Interface

    • Engage with the chatbot through text or speech.
  3. Image Generation Image Generation

    • Generate images based on user prompts.
  4. Sci-fi Image Generator Sci-fi Image Generator

    • Create futuristic sci-fi themed images.

How to Contribute 🤝

  1. Fork the Repository Click the "Fork" button on the top right of the repository page.

  2. Clone the Forked Repository

    git clone https://github.com/yourusername/ai-chatbot.git
    cd ai-chatbot
  3. Create a New Branch

    git checkout -b feature/your-feature-name
  4. Make Changes and Commit

    git add .
    git commit -m "Add your message here"
  5. Push to Your Forked Repository

    git push origin feature/your-feature-name
  6. Create a Pull Request Go to the original repository and click "New Pull Request".


About

This AI Chatbot, developed with ReactJS, NodeJS, MongoDB, and OpenAI API, features capabilities like image URL identification, professional and human-like chat, text-to-speech, speech-to-text, sci-fi and general image generation, and paragraph creation. It also supports Google and GitHub logins for seamless user authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors