Files
tchap-beta/README.md
MALINGREY Adrien a2c0fece12 premier commit
2026-02-04 12:42:17 +00:00

24 lines
885 B
Markdown

# Tchap Beta
Agent conversationnel à petit modèle de langage de bêtise artificelle pour la messagerie Tchap
Basé sur [tchapbot](https://code.peren.gouv.fr/open-source/tchapbot)
Voir la [documentation technique - Bot et Integrations Tchap](https://aide.tchap.numerique.gouv.fr/fr/article/documentation-technique-bot-et-integrations-tchap-1z3dfx/)
## 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
```