Skip to content

πŸ€– BaatChatAI is a GenAI chatbot built using Gemini API and Reactjs

License

Notifications You must be signed in to change notification settings

ashish0kumar/BaatChatAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

56 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BaatChatAI

BaatChatAI is a Generative AI chatbot, it leverages the powerful Gemini API to deliver intelligent, context-aware responses to user queries. Built with React and Vite, the app provides a fast and modern user interface, seamlessly storing conversation history in local storage for a continuous and engaging user experience.

πŸ“š Table of Contents

πŸ“Έ Screenshots

ss1

ss2

✨ Features

  • πŸ€– AI-Powered Responses: The app uses the Gemini API to provide intelligent and context-aware answers to user questions.
  • πŸ’¬ Conversation History: Previous prompts and responses are stored in localStorage, allowing users to view, continue and delete past conversations.
  • πŸ–₯️ User-Friendly Interface: A clean and modern UI built with React, making it easy to interact with the AI.
  • ⚑ Fast and Responsive: Built using Vite, ensuring quick load times and a smooth user experience.
  • πŸ”’ Secure API Integration: Environment variables are used to securely manage API keys and other sensitive data.
  • 🌐 Real-Time Communication: The app provides real-time responses, making the interaction feel immediate and engaging.
  • πŸ”„ Automatic Updates: The app automatically updates the conversation as new responses are received from the API.

πŸ“₯ Installation

To get started with this project, clone the repository and install the necessary dependencies:

git clone https://github.com/ashish0kumar/BaatChatAI.git
cd BaatChatAI
npm install

🌐 Environment Setup

Create a .env file in the root of your project and add your Gemini API key:

VITE_GEMINI_API_KEY=your_api_key_here

Make sure your .env file is located at the root of the project and not inside the src or any other directory.

πŸš€ Usage

To start the development server, run:

npm run dev

This will start the Vite development server, and you can view your project by navigating to http://localhost:5173 in your web browser.

🀝 Contributing

Contributions are welcome! Please fork this repository and submit pull requests with your changes.

πŸ“œ License

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

About

πŸ€– BaatChatAI is a GenAI chatbot built using Gemini API and Reactjs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published