Skip to content

This is a Web chat bot that uses the gemini api to answer the questions given by the user

Notifications You must be signed in to change notification settings

ShreyasN707/Web-Chat-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Web Chat Bot

A real-time chatbot built with Node.js, Express, and EJS, powered by Google's Gemini API.
This project allows users to interact with an intelligent chatbot directly from a web interface.


📂 Project Structure

Web-Chat-Bot/ │── routes/ # Application routes │── views/ # EJS templates for frontend │── api.js # Gemini API integration │── server.js # Main server file │── package.json # Dependencies & project metadata │── .gitignore # Ignored files


🚀 Features

  • 🌐 Web-based chat interface using EJS templates
  • Real-time responses from Gemini API

🖼️ Demo Preview

Chat Demo


🛠️ Tech Stack

  • Backend: Node.js, Express
  • Frontend: EJS, CSS
  • AI Model: Gemini API
  • Version Control: Git & GitHub

📦 Installation & Setup

⚡ Getting Started

Follow these steps to set up and run the project locally:

1️⃣ Clone the repository

git clone https://github.com/ShreyasN707/Web-Chat-Bot.git cd Web-Chat-Bot 2️⃣ Install dependencies

npm install

3️⃣ Configure environment variables Create a .env file in the root directory

Add your Gemini API key inside:

.env GEMINI_API_KEY=your_api_key_here

4️⃣ Start the server node server.js

🎯 Usage

Open the chat interface in your browser

Type your query in the input box

The chatbot responds instantly using Gemini API

About

This is a Web chat bot that uses the gemini api to answer the questions given by the user

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published