Skip to content

An AI-powered chatbot build using Next.js and Open's AI Gemini API

Notifications You must be signed in to change notification settings

abrogow/chatbot-ai

Repository files navigation

ChatBot AI 🤖

An AI-powered chatbot built using Next.js and OpenAI's Gemini API.

Table of Contents

Installation

  1. Clone the repo:
    git clone https://github.com/abrogo/chatbot-ai.git
  2. Navigate to the project folder:
     cd chatbot-ai
  3. Install dependencies:
     npm install
  4. Set up environment variables in a .env.local file:
     NEXT_PUBLIC_GOOGLE_GEMINI_API_KEY=your-api-key-here
  5. Run the project:
    npm run dev

Configuration

  1. Generate Google Gemini API key (https://aistudio.google.com/prompts/apikey)
  2. Create a .env.local file in the root directory.
  3. Add the following variables:
NEXT_PUBLIC_GOOGLE_GEMINI_API_KEY=your-api-key

Usage

  1. Start the app with npm run dev
  2. Open http://localhost:3000 in your browser.
  3. Type a message and get responses from the AI chatbot.

Chatbot Screenshot

About

An AI-powered chatbot build using Next.js and Open's AI Gemini API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published