https://github.com/icarito/gtk_llm_chat
Una interfaz gráfica GTK para chatear con modelos de lenguaje (LLMs).
https://github.com/icarito/gtk_llm_chat
Last synced: 3 months ago
JSON representation
Una interfaz gráfica GTK para chatear con modelos de lenguaje (LLMs).
- Host: GitHub
- URL: https://github.com/icarito/gtk_llm_chat
- Owner: icarito
- License: other
- Created: 2025-02-20T22:09:39.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-02T03:56:47.000Z (3 months ago)
- Last Synced: 2025-03-02T04:26:19.583Z (3 months ago)
- Language: Python
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://llm.datasette.io/en/stable/)
- Python 3.8 o superior
- GTK 4.0
- libadwaitaEn 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.