๐Ÿ“Š WEVAL MIND - Architecture Complรจte

Documentation technique des 8 interfaces et systรจmes WEVAL MIND

๐Ÿ“‘ Table des matiรจres
Fichier/opt/wevads/public/hamid-cli.php (7 KB) API Backendhamid-api.php Providers26+ via dropdown standardisรฉ Rotationโœ… Oui - via hamid-api.php

Fonctionnalitรฉs

Terminal Style Command History Provider Switch Retro Design

Architecture


  โ— โ— โ—   hamid@wevads:~     [Provider โ–ผ]   โ”‚

                                             โ”‚
  $ help                                     โ”‚
  WEVAL MIND CLI v2.0 - Commands available...     โ”‚
                                             โ”‚
  $ Explique Docker                          โ”‚
  [cerebras|523ms] Docker est une...         โ”‚
                                             โ”‚
  $ /use cloudflare                          โ”‚
  Provider changรฉ: cloudflare                โ”‚
                                             โ”‚
  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  โ”‚
  hamid@wevads:~$ _                          โ”‚
                                             โ”‚

Commandes spรฉciales:
- help      - Affiche l'aide
- clear     - Efface l'รฉcran  
- /use X    - Change le provider
- /providers - Liste des providers

Points forts / faibles

โœ… Style terminal authentique | โœ… Historique commandes | โœ… Lรฉger | โœ… Fun ร  utiliser

โŒ Pas adaptรฉ aux longues rรฉponses | โŒ Pas de formatage Markdown | โŒ Interface limitรฉe

๐Ÿ“Ÿ 4. WEVAL MIND SSH WEB
PropriรฉtรฉValeur
URL (intรฉgrรฉ)
IntรฉgrationWidget flottant sur toutes les pages WEVAL
API Backendhamid-api.php ou widget-api.php

Points forts / faibles

โœ… Accessible partout | โœ… Non-intrusif | โœ… Contextuel

โŒ Fonctionnalitรฉs limitรฉes | โŒ Petit รฉcran

๐Ÿ”ฒ 9. WEVAL MIND WIDGET WEVAL (Intรฉgrรฉ Admin)
PropriรฉtรฉValeur
Fichier/opt/wevads/public/includes/chatbot-widget.php (19 KB)
Intรฉgrationinclude("includes/chatbot-widget.php") dans 50+ pages
API Backend/api/widget-api.php
Config DBadmin.chatbot_config
Rotationโš ๏ธ Via widget-api.php (systรจme sรฉparรฉ)

Pages avec Widget

Le widget flottant est prรฉsent sur toutes les pages admin WEVAL :

  • admin-permissions.php
  • architecture.php
  • ceo-dashboard.php
  • cloudflare-accounts.php
  • database-manager.php
  • dkim_setup.php
  • + 50 autres pages...

Configuration (DB chatbot_config)


 config_key      โ”‚ config_value                             โ”‚
            

Architecture


              WIDGET WEVAL INTร‰GRร‰                               โ”‚

                                                                  โ”‚
   Page Admin WEVAL (ex: cloudflare-accounts.php)               โ”‚
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
   โ”‚                                                          โ”‚   โ”‚
   โ”‚              [Contenu de la page]                        โ”‚   โ”‚
   โ”‚                                                          โ”‚   โ”‚
   โ”‚                                                          โ”‚   โ”‚
   โ”‚                                             โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”‚   โ”‚
   โ”‚                                             โ”‚ ๐Ÿค–       โ”‚โ”‚   โ”‚
   โ”‚                                             โ”‚ Salam!   โ”‚โ”‚   โ”‚
   โ”‚                                             โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โ”‚   โ”‚
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
                                                                  โ”‚
   include("includes/chatbot-widget.php")                        โ”‚
        โ”‚                                                         โ”‚
        โ–ผ                                                         โ”‚
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
   โ”‚  chatbot-widget.php (19 KB)                              โ”‚   โ”‚
   โ”‚  โ€ข Charge config depuis admin.chatbot_config             โ”‚   โ”‚
   โ”‚  โ€ข Gรฉnรจre HTML/CSS/JS du widget flottant                 โ”‚   โ”‚
   โ”‚  โ€ข Appelle /api/widget-api.php pour les rรฉponses IA      โ”‚   โ”‚
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
                                                                  โ”‚
   โš ๏ธ DIFFร‰RENCE: Utilise widget-api.php, PAS hamid-api.php     โ”‚
                                                                  โ”‚

Points forts / faibles

โœ… Accessible sur toutes les pages | โœ… Non-intrusif | โœ… Config personnalisable | โœ… 50+ intรฉgrations

โŒ API diffรฉrente (widget-api.php) | โŒ Failover sรฉparรฉ | โŒ Pas synchronisรฉ avec hamid-api

๐Ÿ–ฅ๏ธ 10. WEVAL MIND CLI SSH Rร‰EL (Serveur Direct)
PropriรฉtรฉValeur
Accรจsssh root@95.216.167.89 โ†’ commande: hamid
Fichier/usr/local/bin/hamid (24 KB - Python)
API BackendAppels DIRECTS aux APIs providers (pas de PHP)
Config DBadmin.commonia_config (clรฉs API)
Providers19 providers configurรฉs dans le script Python
Rotationโœ… Propre implรฉmentation avec auto-fallback

Providers CLI Python

PROVIDERS = {
    'ollama':    {endpoint: localhost:11434,     model: phi:latest}
    'groq':      {endpoint: api.groq.com,        model: llama-3.3-70b-versatile}
    'deepseek':  {endpoint: api.deepseek.com,    model: deepseek-chat}
    'mistral':   {endpoint: api.mistral.ai,      model: mistral-large-latest}
    'together':  {endpoint: api.together.xyz,    model: Llama-3.3-70B-Instruct}
    'cerebras':  {endpoint: api.cerebras.ai,     model: llama3.1-8b}
    'cloudflare':{endpoint: api.cloudflare.com,  model: llama-3.1-8b-instruct}
    'sambanova': {endpoint: api.sambanova.ai,    model: Meta-Llama-3.1-8B}
    ... (19 total)
}

Architecture


                    WEVAL MIND CLI SSH Rร‰EL                            โ”‚

                                                                  โ”‚
   Utilisateur Admin                                              โ”‚
        โ”‚                                                         โ”‚
        โ”‚ ssh root@95.216.167.89                                โ”‚
        โ–ผ                                                         โ”‚
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
   โ”‚  Terminal Linux (bash)                                   โ”‚   โ”‚
   โ”‚                                                          โ”‚   โ”‚
   โ”‚  root@wevads:~$ hamid                                   โ”‚   โ”‚
   โ”‚                                                          โ”‚   โ”‚
   โ”‚  โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—  โ”‚   โ”‚
   โ”‚  โ•‘  ๐Ÿค– WEVAL MIND CLI v2.0 - Multi-Provider AI            โ•‘  โ”‚   โ”‚
   โ”‚  โ•‘  Provider: groq (โšก)                               โ•‘  โ”‚   โ”‚
   โ”‚  โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•  โ”‚   โ”‚
   โ”‚                                                          โ”‚   โ”‚
   โ”‚  hamid> Explique Docker                                  โ”‚   โ”‚
   โ”‚  [groq|1234ms] Docker est un outil de...                โ”‚   โ”‚
   โ”‚                                                          โ”‚   โ”‚
   โ”‚  hamid> /use cerebras                                   โ”‚   โ”‚
   โ”‚  โœ… Provider changรฉ: cerebras                           โ”‚   โ”‚
   โ”‚                                                          โ”‚   โ”‚
   โ”‚  hamid> /quit                                           โ”‚   โ”‚
   โ”‚  Au revoir! ๐Ÿ‘‹                                          โ”‚   โ”‚
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
                                                                  โ”‚
   Script Python: /usr/local/bin/hamid                           โ”‚
        โ”‚                                                         โ”‚
        โ”œโ”€ Charge clรฉs API depuis admin.commonia_config (DB)     โ”‚
        โ”‚                                                         โ”‚
        โ”œโ”€ Appelle DIRECTEMENT les APIs providers                โ”‚
        โ”‚   (pas de couche PHP intermรฉdiaire)                    โ”‚
        โ”‚                                                         โ”‚
        โ””โ”€ Auto-fallback si provider down                        โ”‚
                                                                  โ”‚
   Commandes disponibles:                                         โ”‚
   โ€ข /help       - Affiche l'aide                                โ”‚
   โ€ข /providers  - Liste tous les providers                      โ”‚
   โ€ข /use X      - Change de provider                            โ”‚
   โ€ข /model      - Affiche le modรจle actuel                      โ”‚
   โ€ข /clear      - Efface l'รฉcran                                โ”‚
   โ€ข /quit       - Quitter                                       โ”‚
                                                                  โ”‚
   โš ๏ธ ACCรˆS ADMIN UNIQUEMENT (nรฉcessite SSH root)               โ”‚
                                                                  โ”‚

Points forts / faibles

โœ… Accรจs direct serveur | โœ… Pas de latence web | โœ… Scripting bash possible | โœ… Auto-fallback | โœ… 19 providers

โŒ Accรจs SSH requis | โŒ Config sรฉparรฉe (commonia_config) | โŒ Pas synchronisรฉ avec hamid-api.php

๐Ÿ“Š Tableau Maรฎtre - Comparatif Complet des 10 Interfaces WEVAL MIND

Interface ๐ŸŒ URL d'Accรจs ๐Ÿ“„ Fichier
(Taille)
โšก API Backend
(Taille)
๐Ÿ—„๏ธ Config DB ๐Ÿ“š KB
(docs)
๐Ÿง  System Prompt ๐Ÿ’ก Intell. ๐Ÿ–ฅ๏ธ ร‰cran/Affichage ๐Ÿ‘ค Pour qui? ๐ŸŽฏ Cas d'usage โš ๏ธ Recommandation
๐Ÿ’ฌ Fullscreen
โ˜… PRINCIPAL