Skip to main content

Una interfaz gráfica GTK para chatear con modelos de lenguaje (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)
  • Soporte para cancelación de generación (Ctrl+C)

Instalación

pipx install llm               # requerido por gtk-llm-chat
pipx install gtk-llm-chat

Requisitos del Sistema

  • llm
  • Python 3.8 o superior
  • GTK 4.0
  • libadwaita

En sistemas basados en Debian/Ubuntu:

sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0 libadwaita-1-0

Uso

Ejecutar la aplicación:

gtk-llm-chat

Con argumentos opcionales:

gtk-llm-chat --cid ID_CONVERSACION  # Continuar una conversación específica
gtk-llm-chat -s "Prompt del sistema"  # Establecer prompt del sistema
gtk-llm-chat -m nombre_modelo  # Seleccionar modelo específico
gtk-llm-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  # En Windows: venv\Scripts\activate
pip install -e ".[dev]"

Licencia

GPLv3 License - Ver archivo LICENSE para más detalles.

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

gtk_llm_chat-1.0.0.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

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

gtk_llm_chat-1.0.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file gtk_llm_chat-1.0.0.tar.gz.

File metadata

  • Download URL: gtk_llm_chat-1.0.0.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for gtk_llm_chat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 790847bdba4d3dde8b5cd909758b5b83e7e0e3dbb5d6ce7c10405ab1aa2f63d1
MD5 fbf6ca5a1596f734f17a211197a5dcdf
BLAKE2b-256 70a183d3492086505fc291a738cfd1cb24f7f4b5f07fbe9703f3b0baab15f71b

See more details on using hashes here.

File details

Details for the file gtk_llm_chat-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gtk_llm_chat-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for gtk_llm_chat-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd960bcf8560643e910805e89f6f66bec92c0f2d17bdc2a665ece31bc44a5a31
MD5 15666654ed41ab10d411828f3e20a165
BLAKE2b-256 728b4d33a86911a4dfd9653b075a8818fbd5f8a5f375e3e7b5b86ed11372abfa

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