You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZBot is an AI-powered chatbot that uses Google Gemini API to generate responses and handle various tasks like fetching weather updates and telling jokes.
🌟 Features
💬 AI-Powered Chat using Google Gemini API
⛅ Weather Updates (API integration)
😂 Jokes Module for humor
🚀 Markdown to Plaintext conversion
🔄 Multithreading for smooth execution
🛠️ Technologies Used
Python
Google Generative AI (Gemini API)
BeautifulSoup (for Markdown-to-Text conversion)
Dotenv (for environment variable management)
📦 Getting Started
1️⃣ Clone the Repository
git clone https://github.com/Zedai00/ZBot.git
cd ZBot
2️⃣ Install Dependencies
pip install -r requirements.txt
3️⃣ Set Up API Keys
Create a .env file in the project root and add:
AI_API=your_google_gemini_api_key
4️⃣ Run the Chatbot
python main.py
⚙️ Modules & Functionality
Module
Description
AI Chat
Uses Google Gemini API to process queries and respond intelligently.
Weather
Fetches real-time weather updates based on user queries.
Jokes
Tells jokes based on user requests.
Markdown Parser
Converts AI-generated Markdown responses into plain text.