A GTK graphical interface for chatting with large language models (LLMs)
Project description
GTK LLM Chat
Una interfaz gráfica GTK para chatear con modelos de lenguaje (LLMs).
Características
- Interfaz gráfica simple y fácil de usar construida con GTK
- Soporte para múltiples conversaciones en ventanas independientes
- Integración con python-llm para chat con diversos modelos de LLM
- Interfaz moderna usando libadwaita
- Soporte para streaming de respuestas en tiempo real
- Historial de mensajes con desplazamiento automático
- Atajos de teclado (Enter para enviar, Shift+Enter para nueva línea)
Instalación
pipx install llm # required by gtk-llm-chat
llm install gtk-chat
Requisitos del Sistema
- llm
- Python 3.8 o superior
- GTK 4.0
- libadwaita
- libayatana-appindicator
En sistemas basados en Debian/Ubuntu:
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0 libadwaita-1-0 libayatana-appindicator3-1
Uso
Ejecutar la aplicación:
llm gtk-applet
o para un chat individual:
llm gtk-chat
Con argumentos opcionales:
llm gtk-chat --cid ID_CONVERSACION # Continuar una conversación específica
llm gtk-chat -s "Prompt del sistema" # Establecer prompt del sistema
llm gtk-chat -m nombre_modelo # Seleccionar modelo específico
llm gtk-chat -c # Continuar última conversación
Desarrollo
Para configurar el entorno de desarrollo:
git clone https://github.com/icarito/gtk-llm-chat.git
cd gtk-llm-chat
python -m venv venv
source venv/bin/activate
pip install -e ".[dev]"
Licencia
GPLv3 License - Ver archivo LICENSE para más detalles.
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 gtk_llm_chat-2.0.1.dev0.tar.gz.
File metadata
- Download URL: gtk_llm_chat-2.0.1.dev0.tar.gz
- Upload date:
- Size: 322.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33bc2c15ef92004e7d10c1650162040dc3bdd2eeceea73360cc32447a1b6f07a
|
|
| MD5 |
be08c1584b25876e73dfb0b738cc4cf6
|
|
| BLAKE2b-256 |
e2b7a32079dbc9c0d1b8aaf27d93544d82935920b24fa80bbf525ece4f57afea
|
File details
Details for the file gtk_llm_chat-2.0.1.dev0-py3-none-any.whl.
File metadata
- Download URL: gtk_llm_chat-2.0.1.dev0-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11dbd8be39bb52c1046f4ad0c048b19289affe62be688724f12cf6212eaa06e5
|
|
| MD5 |
c553d5c9480bb52890fa595a76f4228f
|
|
| BLAKE2b-256 |
1e71e3671d35656354e054edeb1758cb9fb73b0806464066fba40f2a51faddf3
|