Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 1.7 KB

README.md

File metadata and controls

58 lines (44 loc) · 1.7 KB

AI Chatbot with Google GEMINI using Node.js

Welcome to the Google Gemini ChatBot project, built using Node.js! This application is designed to provide a seamless conversational experience, leveraging the capabilities of the Google Gemini API.

Table of Contents

Introduction

The Google Gemini ChatBot is integrated in a Node.js application that interacts with users through natural language processing, offering a wide range of functionalities powered by the Google Gemini API. Whether you need information, assistance, or just a friendly chat, this bot is here to help.

Features

  • Natural Language Understanding
  • Contextual Conversations
  • Integration with Google Gemini API
  • Easy Setup and Configuration

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js (version 18 or higher)
  • npm (Node package manager)
  • Google Gemini API key

Installation

Follow these steps to set up and run the application:

  1. Clone the repository:

    git clone https://github.com/yourusername/nodejs_ai_chatbot.git
    cd nodejs_ai_chatbot
  2. Install the dependencies:

    npm install
  3. Add your Google Gemini API key in .env file of the root directory:

    GEMINI_API_KEY=YOUR_API_KEY
    • First, get the initial code from Google AI Studio
    • Next, click 'Get API key'
    • then 'Create API key'
    • Select your Google Cloud project and click 'Create'

Usage

To start the chatbot application, run:

node index.js