Skip to main content

A chatbot GUI that uses OpenAI, MetaAI, and Google Generative AI.

Project description

ChatbotAI-GUI is a graphical user interface (GUI) chatbot that integrates multiple AI models, including OpenAI, Meta AI, Google Generative AI, and Anthropic Claude. This package allows users to interact with different AI models seamlessly through a single application.

✨ Features

  • Supports OpenAI, Meta AI API, Google Generative AI, and Anthropic Claude.

  • Simple and intuitive GUI for easy interaction.

  • Extensible and customizable for different chatbot implementations.

📦 Installation

Install the package using:

pip install chatbotai-gui

🚀 Usage

After installation, you can launch the chatbot GUI using:

python -m chatai

Or in a Python script:

from chatai.chatbotgui import ChatbotApp

app = ChatbotApp()
app.run()

📝 Configuration

The chatbot uses a software interpreter to process API keys and select the AI model on launch. You can also configure the application’s title and icon using the ChatbotApp class.

After launching the GUI, you can use the /help command to see available commands.

Example configuration:

from chatai.chatbotgui import ChatbotApp, SoftwareInterpreter

app = ChatbotApp(title="ExampleTitle", icon="icon.png")
app.chatbot = SoftwareInterpreter(
    api_key="YOUR_API_KEY_HERE",
    ai_type="GEMINI",  # Choose from "GEMINI", "CHATGPT", "META", or "Claude"
    font="Arial",
    openai_maxtoken=250,
)
app.run()

🛠 Commands

Here are the available commands:

/mute - Mute or unmute the bot.
/say <message> - Send a custom message without bot processing.
/font <set/list/search> - Change, list, or search fonts.
/apikey <API_KEY> - Set or view the current API key.
/switch <bot_name> - Switch between 'gemini', 'meta', 'chatgpt', or 'claude'.
/model <set> - Set the AI model to the specified model.
/help - Show this help message.

⚙️ Advanced Configuration

For advanced users, replacing the root window is allowed:

import tkinter as tk
app = ChatbotApp(root=tk.Tk())
app.run()

📜 License

This project is licensed under AGPL-3.0-or-later. See the LICENSE file for more details.

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

chatbotai_gui-2.1.0.post2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatbotai_gui-2.1.0.post2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file chatbotai_gui-2.1.0.post2.tar.gz.

File metadata

  • Download URL: chatbotai_gui-2.1.0.post2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for chatbotai_gui-2.1.0.post2.tar.gz
Algorithm Hash digest
SHA256 e9cc78c32466fd04e5e7f6370a31973d31b7c0f50f410a894bcc084282ac8358
MD5 b6ea33cacfebe3ac44fa4e41124f37d4
BLAKE2b-256 6742b7f8c22f67d6aab1589e7ec0856a6ecef6aa3cb6a44b44225e87f05c72b4

See more details on using hashes here.

File details

Details for the file chatbotai_gui-2.1.0.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for chatbotai_gui-2.1.0.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fa9a49697a2d4f7edbcab61e15524e565daffba572a209e4892c8fd7528d8cc
MD5 541ba9e3fbaad93b7444a27e24f1eb8f
BLAKE2b-256 2b0c10417ed8caab50088d93df75755a269e829576a4e12607c5c1d144fa10c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page