GenZBot is a beginner-friendly Python package designed to provide hands-on experience in building AI chatbots from scratch. With support for multiple LLMs and customizable options for behavior and design, it simplifies chatbot development while introducing essential concepts for GenAI projects.
Project description
GenZBot: Your Gateway to AI Chatbot Creation! 🤖✨
Welcome to GenZBot, the ultimate package designed to help beginners build AI chatbots from scratch. Whether you're just stepping into the world of Generative AI or looking to understand chatbot integration, GenZBot has got you covered! 🚀
Features 🌟
- Easy Setup: Create an AI chatbot project structure with a single command.
- Multiple LLMs: Choose from 5 powerful language models:
openai🔑 (requires a paid API key from OpenAI)gemini🌌 (free API key from Google AI Studio)gemma🧠llama🦙mixtral🌀
- Customizable Templates: Two designs available:
Plain✨Galaxy🌠
- Personalization: Set your bot's behavior and name easily.
- Automated Environment Setup: Virtual environment creation, dependency installation, and app execution are just one command away.
Installation 🛠️
-
Install GenZBot using pip:
pip install GenZBot
-
Import the
ChatBotclass:from GenZBot.chatbot import ChatBot
Getting Started 🚀
Here’s how to create your first chatbot project with GenZBot:
-
Initialize Your ChatBot:
bot = ChatBot(llm='gemini', api_key='your-api-key')
-
Create Project Structure:
bot.CreateProject()
This command will generate the following structure:
Chatbot_Project/ AI_Service/ AIResponse.py Backend/ app.py Frontend/ static/ static.js style.css templates/ index.html .env requirements -
Run the ChatBot:
bot.run()
This command will:
- Create a virtual environment.
- Install all dependencies from
requirements. - Launch the Flask app.
Example Code 📝
from GenZBot.chatbot import ChatBot
# Step 1: Initialize ChatBot
bot = ChatBot(llm='gemini', api_key='your-api-key')
# Step 2: Create Project Structure
bot.CreateProject()
# Step 3: Run the Bot
bot.run()
API Keys 🔑
- OpenAI: Obtain a paid API key from OpenAI.
- Gemini: Get a free API key from Google AI Studio.
- Gemma, Llama, Mixtral: Request API keys from Groq AI.
Why Choose GenZBot? 🤔
- Ideal for beginners looking to explore Generative AI.
- Provides a clear project structure for understanding AI chatbot integration.
- Saves time with automated setup and environment configuration.
Happy Chatbot Building! 🎉
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genzbot-0.8.tar.gz.
File metadata
- Download URL: genzbot-0.8.tar.gz
- Upload date:
- Size: 8.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8666099470b9b5d2cb8a27fff0a1f1348ab12b2235e1b79f5ed74943ff20ce51
|
|
| MD5 |
c705def3a9e9257be2cc95715b7c39ce
|
|
| BLAKE2b-256 |
b45bafe0209b91f2601873974c6b3d4cf8ae0d817990100b2bf2c846ce8160c4
|
File details
Details for the file GenZBot-0.8-py3-none-any.whl.
File metadata
- Download URL: GenZBot-0.8-py3-none-any.whl
- Upload date:
- Size: 8.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0918c758f73c2b377962080ba03de9a018e656556ffe5c3f4f34787f51d72915
|
|
| MD5 |
9f618bc34943d689acac5153885dca47
|
|
| BLAKE2b-256 |
b1a4802b2b603b9cc20bca26b50c2e08e4d2922652af916b0cc73be0df76c40e
|