885 B
885 B
Tchap Beta
Agent conversationnel à petit modèle de langage de bêtise artificelle pour la messagerie Tchap Basé sur tchapbot Voir la documentation technique - Bot et Integrations Tchap
Installation
git clone https://gitlab-forge.din.developpement-durable.gouv.fr/drieat-if/dsin/usrt/tchap-beta.git
cd tchap-beta
python -m venv .venv
source .venv/bin/activate
pip install \
"Pillow>=10.4.0,<11.0.0" \
"aiohttp<3.10" \
"matrix-nio[e2e]>=0.24.0,<0.25.0" \
tchap-bot --index-url https://code.peren.fr/api/v4/projects/83/packages/pypi/simple
# Renseignez les informations de connexion :
editor .env
python -c 'import secrets; print("salt=", secrets.token_bytes(16), sep="")' >> .env
python tchapbeta.py