An open API service indexing awesome lists of open source software.

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).

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
- 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.