Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

🤖 Gemini AI Chatbot

An intelligent AI-powered chatbot built using Streamlit and Google Gemini API that provides real-time conversational assistance through a modern and interactive web interface.


🚀 Live Demo

🌐 Live Application: Gemini AI Chatbot Live Demo


📌 Features

✅ Real-time AI conversations ✅ Google Gemini API integration ✅ Interactive chat interface ✅ Chat history management ✅ Download conversation feature ✅ Typing animation effect ✅ Responsive UI design ✅ Secure API key handling ✅ Deployable on Hugging Face Spaces


🧠 Technologies Used

  • Python
  • Streamlit
  • Google Gemini API
  • Generative AI
  • HTML/CSS
  • Hugging Face Spaces

📂 Project Structure

ChatBot/
│
├── app.py
├── requirements.txt
├── README.md
└── .streamlit/
    └── secrets.toml

⚙️ Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/yourgithub/ChatBot.git

2️⃣ Navigate to Project Folder

cd ChatBot

3️⃣ Create Virtual Environment

python -m venv .venv

4️⃣ Activate Virtual Environment

Windows

.\.venv\Scripts\activate

Linux/Mac

source .venv/bin/activate

5️⃣ Install Dependencies

pip install -r requirements.txt

🔐 Configure Gemini API Key

Create a folder named:

.streamlit

Inside it, create:

secrets.toml

Add your API key:

GEMINI_API_KEY = "your_api_key_here"

Get your API key from: Google AI Studio


▶️ Run the Application

streamlit run app.py

🌐 Deployment

This project is deployed using:

  • Hugging Face Spaces

Deployment includes:

  • Real-time chatbot interaction
  • Secure environment variable handling
  • Public web accessibility

👩‍💻 Author

NAGISETTI PRANATHI

Computer Science Engineering Student Passionate about AI, Machine Learning, and Full Stack Development.


📜 License

This project is open-source and available under the MIT License.

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages