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
Release history Release notifications | RSS feed
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9cc78c32466fd04e5e7f6370a31973d31b7c0f50f410a894bcc084282ac8358
|
|
| MD5 |
b6ea33cacfebe3ac44fa4e41124f37d4
|
|
| BLAKE2b-256 |
6742b7f8c22f67d6aab1589e7ec0856a6ecef6aa3cb6a44b44225e87f05c72b4
|
File details
Details for the file chatbotai_gui-2.1.0.post2-py3-none-any.whl.
File metadata
- Download URL: chatbotai_gui-2.1.0.post2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fa9a49697a2d4f7edbcab61e15524e565daffba572a209e4892c8fd7528d8cc
|
|
| MD5 |
541ba9e3fbaad93b7444a27e24f1eb8f
|
|
| BLAKE2b-256 |
2b0c10417ed8caab50088d93df75755a269e829576a4e12607c5c1d144fa10c5
|