Skip to content

The AI Chatbot Project is a React-based application that integrates Google Generative AI to provide a dynamic and interactive chatbot experience. It allows users to engage with an AI-powered chatbot through a simple and intuitive interface.

Notifications You must be signed in to change notification settings

Anubhx/AI-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Chatbot Project

This project sets up a Gemini AI Chatbot using React and Google Generative AI. Follow the instructions below to set up and run the project on your local machine.

Prerequisites

Ensure you have the following installed on your system:

  • Node.js

Installation Guide

Install Node.js

If you do not have Node.js installed, follow these steps:

  1. Visit the official Node.js website.
  2. Download the Node.js installer for your operating system.
  3. Run the installer and follow the prompts to complete the installation.

Set Up and Run the Project

  1. Clone the Repository

    git clone https://github.com/Anubhx/AI-chatbot
  2. Open the Project in VS Code

    • Open Visual Studio Code.
    • Open the project folder in VS Code.
  3. Open Integrated Terminal in VS Code

    • Right-click on the sidebar in VS Code.
    • Select "Open In Integrated Terminal".
  4. Install Dependencies

    npm install

    Wait for the installation to complete. You will see a node_modules folder appear in the sidebar.

  5. Set Up API Key

    • Create your API key from Google Generative AI.
    • Open the gemini.js file located in the src/config folder.
    • Paste your API key in the appropriate location within the gemini.js file.
  6. Run the Project

    npm run dev
  7. Access the Project in Your Browser

    • Copy the localhost link provided in the terminal after running the previous command.
    • Open the link in your web browser.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

The AI Chatbot Project is a React-based application that integrates Google Generative AI to provide a dynamic and interactive chatbot experience. It allows users to engage with an AI-powered chatbot through a simple and intuitive interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published