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

Built Distribution

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

File details

Details for the file chatbotai_gui-2.1.1.post230829038032890382908901890812039.tar.gz.

File metadata

File hashes

Hashes for chatbotai_gui-2.1.1.post230829038032890382908901890812039.tar.gz
Algorithm Hash digest
SHA256 96e81bcfe52dff5c489e92923767d3820cac9f5d7fb2f499af66e64302186284
MD5 0b91f469d704b600cd22974ed9a5aa14
BLAKE2b-256 df4c64017fc3741a446a8e354bf4b2c4005d8124e9fb12191caa01cbc032d1b8

See more details on using hashes here.

File details

Details for the file chatbotai_gui-2.1.1.post230829038032890382908901890812039-py3-none-any.whl.

File metadata

File hashes

Hashes for chatbotai_gui-2.1.1.post230829038032890382908901890812039-py3-none-any.whl
Algorithm Hash digest
SHA256 cc63ddf9de50c26446122376a785d1b15e061375436e2ff485a5cdbc0892dc4a
MD5 b6a527405cf5c96bed44bdc8adce53b3
BLAKE2b-256 c36e3236dd93c59e4bc8813f7974603490f2a16f1deb12c4514b3b3bc8f4641a

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