Skip to content

PavanSugreev04/AI_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Gemini Node.js Chatbot

This project is a simple AI chatbot implemented using Node.js, HTML, CSS, and JavaScript. The chatbot utilizes the Google Gemini API to generate responses.

Features

  • Interactive chatbot interface
  • Real-time communication with the Google Gemini API
  • Simple and clean user interface

Prerequisites

Make sure you have Node.js installed. You can download it from Node.js official website.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/PavanSugreev04/google-gemini-chatbot.git
    cd google-gemini-chatbot
  2. Install the necessary npm packages:

    npm install @google/generative-ai ora chalk prompt-sync express body-parser
  3. Replace the API_KEY in index.js with your own API key from Google Gemini.

  4. Start the Node.js server:

    node index.js
  5. Open index.html in your browser to start interacting with the chatbot.

About

Chat Bot using Gemini Api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published