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.
- πΈ Screenshots
- β¨ Features
- π₯ Installation
- π Environment Setup
- π Usage
- π€ Contributing
- π License
- π€ 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.
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
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.
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.
Contributions are welcome! Please fork this repository and submit pull requests with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.