Actualiser README.md
This commit is contained in:
parent
019df57092
commit
cac7b9a666
1 changed files with 34 additions and 1 deletions
35
README.md
35
README.md
|
@ -1,3 +1,36 @@
|
|||
# DiscordBot
|
||||
|
||||
Bot discord fait pour fonctionner sur des machines type Raspberry Pi 4, avec une AI et plusieurs autres fonctionnalités.
|
||||
Bot discord fait pour fonctionner sur des machines type Raspberry Pi 4, avec une AI et plusieurs autres fonctionnalités.
|
||||
|
||||
## Utilisation
|
||||
|
||||
Tout est paramètrable dans `settings.json`. Vous devez au moins y ajouter le token de vore bot et un model .gguf Llama. J'utilisais TinyLlama, mais Phi est sans doute mieux aujourd'hui.
|
||||
|
||||
## Fonctionnement
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
lj{"Initialisation"}
|
||||
init["Discord.py"]
|
||||
c1["Commande 'uwu'"]
|
||||
c2["Commande 'gif'"]
|
||||
c3["Commande 'speak'"]
|
||||
uwu["Uwuifie le texte"]
|
||||
gif["Requête à Otaku API"]
|
||||
speak["Llama"]
|
||||
q["Queue"]
|
||||
env["Envoie la réponse"]
|
||||
lj --> init
|
||||
init --> c1
|
||||
init --> c2
|
||||
init --> c3
|
||||
c1 --> q
|
||||
c2 --> q
|
||||
c3 --> q
|
||||
q --> uwu
|
||||
q --> gif
|
||||
q --> speak
|
||||
uwu --> env
|
||||
gif --> env
|
||||
speak --> env
|
||||
```
|
Loading…
Add table
Reference in a new issue