Skip to main content

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 🛠️

  1. Install GenZBot using pip:

    pip install GenZBot
    
  2. Import the ChatBot class:

    from GenZBot.chatbot import ChatBot
    

Getting Started 🚀

Here’s how to create your first chatbot project with GenZBot:

  1. Initialize Your ChatBot:

    bot = ChatBot(llm='gemini', api_key='your-api-key')
    
  2. 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
    
  3. 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! 🎉

Metadata

Release files for GenZBot 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GenZBot 0.8
File Size Uploaded
genzbot-0.8.tar.gz 8.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for GenZBot 0.8
File Interpreter ABI Platform
GenZBot-0.8-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 MB

Release files / genzbot-0.8.tar.gz

Download URL genzbot-0.8.tar.gz
Size 8.6 MB
Tags Source
SHA-256 checksum
How to use checksums
8666099470b9b5d2cb8a27fff0a1f1348ab12b2235e1b79f5ed74943ff20ce51
BLAKE2b-256 checksum
How to use checksums
b45bafe0209b91f2601873974c6b3d4cf8ae0d817990100b2bf2c846ce8160c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Release files / GenZBot-0.8-py3-none-any.whl

Download URL GenZBot-0.8-py3-none-any.whl
Size 8.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0918c758f73c2b377962080ba03de9a018e656556ffe5c3f4f34787f51d72915
BLAKE2b-256 checksum
How to use checksums
b1a4802b2b603b9cc20bca26b50c2e08e4d2922652af916b0cc73be0df76c40e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.8 This release

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page