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.1.0.tar.gz (26.7 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.1.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gtk_llm_chat-1.1.0.tar.gz
  • Upload date:
  • Size: 26.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 9947cbbf15ecbb2a3dc88de44510605dd8b6444d601be8ea1f0c428f41b88f2b
MD5 55f84ab174573744100113c9361643bd
BLAKE2b-256 4512db8f81abbf913a93991deeb8fffad614236b8aba998206b82b450b722a1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gtk_llm_chat-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6fa2f5558dd739032af58c320fc42f0855ce552fbda44ba72c3c890fa09d3f0
MD5 cbf4fb1c54fc7064f38f54ad35668597
BLAKE2b-256 6ac0f876db1892d52b5eb29c39d5d20b2966ebc1876136f1b4758e9c50efa94e

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