Skip to content

BaatChatAI is a Generative AI chatbot built using Gemini API and Reactjs

License

Notifications You must be signed in to change notification settings

ashish0kumar/BaatChatAI

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 Generative AI chatbot built using Gemini API and Reactjs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published