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)

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
  • 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:

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
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.3.0.tar.gz (57.4 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.3.0-py3-none-any.whl (44.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gtk_llm_chat-1.3.0.tar.gz
Algorithm Hash digest
SHA256 632cfa1a85f85f60a5be20d81acbfe5e5c471737e8e2991e65adee9eaec97cff
MD5 4057ec2347fa7f7935bcdc7345f11caa
BLAKE2b-256 cc54e649596c9cdc1e17cd211d60f70c482b91563bfd343dad7755e6a61bfa4a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gtk_llm_chat-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9430d6167d6e2ed44f17c7223294f072a6106136a2aa1c39c75a290263a412c
MD5 56044a08a5f77fdf5697eec6629b3ceb
BLAKE2b-256 b142a4d90beaf6089b5ab0ef23a67f510c259e79c3fe3e85e2668f403c5e8dc7

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