query("SELECT COUNT(*) FROM admin.commonia_knowledge")->fetchColumn(); } catch(Exception $e) {} try { $memCount = $pdo->query("SELECT COUNT(*) FROM admin.chatbot_memory")->fetchColumn(); } catch(Exception $e) {} try { $convCount = $pdo->query("SELECT COUNT(DISTINCT conversation_id) FROM admin.chatbot_history WHERE session_id = '".$_SESSION['hamid_session']."'")->fetchColumn(); } catch(Exception $e) {} // Load providers from config $providers = []; try { $stmt = $pdo->query("SELECT key, value FROM admin.commonia_config WHERE key LIKE '%_api_key' OR key LIKE '%_endpoint'"); $config = []; while ($row = $stmt->fetch()) { $config[$row['key']] = $row['value']; } } catch(Exception $e) { $config = []; } // Detected provider list with timeouts from hamid-api.php $allProviders = [ 'cerebras' => ['name'=>'Cerebras','icon'=>'๐Ÿง ','model'=>'llama-3.3-70b','type'=>'Gratuit','speed'=>'~2s'], 'groq' => ['name'=>'Groq','icon'=>'โšก','model'=>'llama-3.3-70b-versatile','type'=>'Gratuit','speed'=>'~3s'], 'sambanova' => ['name'=>'SambaNova','icon'=>'โšก','model'=>'Meta-Llama-3.1-8B','type'=>'Gratuit','speed'=>'~4s'], 'cloudflare' => ['name'=>'Cloudflare','icon'=>'โ˜๏ธ','model'=>'llama-3.1-8b-instruct','type'=>'Gratuit','speed'=>'~5s'], 'together' => ['name'=>'Together','icon'=>'๐Ÿค','model'=>'Llama-3.3-70B','type'=>'Gratuit','speed'=>'~5s'], 'fireworks' => ['name'=>'Fireworks','icon'=>'๐ŸŽ†','model'=>'llama-v3p1-70b','type'=>'Gratuit','speed'=>'~4s'], 'openrouter' => ['name'=>'OpenRouter','icon'=>'๐Ÿ”€','model'=>'auto','type'=>'Gratuit','speed'=>'~5s'], 'novita' => ['name'=>'Novita','icon'=>'โœจ','model'=>'llama-3.1-70b','type'=>'Gratuit','speed'=>'~5s'], 'lepton' => ['name'=>'Lepton','icon'=>'โš›๏ธ','model'=>'llama-3.3-70b','type'=>'Gratuit','speed'=>'~5s'], 'hyperbolic' => ['name'=>'Hyperbolic','icon'=>'๐Ÿ“','model'=>'llama-3.1-70b','type'=>'Gratuit','speed'=>'~5s'], 'huggingface' => ['name'=>'HuggingFace','icon'=>'๐Ÿค—','model'=>'llama-3.1-8b','type'=>'Gratuit','speed'=>'~8s'], 'mistral' => ['name'=>'Mistral','icon'=>'๐ŸŒ€','model'=>'mistral-large-latest','type'=>'Gratuit limitรฉ','speed'=>'~5s'], 'deepseek' => ['name'=>'DeepSeek','icon'=>'๐Ÿ”','model'=>'deepseek-chat','type'=>'Payant','speed'=>'~6s'], 'claude' => ['name'=>'Claude (Anthropic)','icon'=>'๐Ÿค–','model'=>'claude-sonnet-4-20250514','type'=>'Payant','speed'=>'~8s'], 'openai' => ['name'=>'OpenAI GPT-4o','icon'=>'๐ŸŸข','model'=>'gpt-4o','type'=>'Payant','speed'=>'~5s'], 'openai-mini' => ['name'=>'OpenAI GPT-4o-mini','icon'=>'๐ŸŸข','model'=>'gpt-4o-mini','type'=>'Payant','speed'=>'~3s'], 'gemini' => ['name'=>'Google Gemini','icon'=>'๐Ÿ’Ž','model'=>'gemini-2.0-flash','type'=>'Gratuit limitรฉ','speed'=>'~5s'], 'cohere' => ['name'=>'Cohere','icon'=>'๐Ÿ”ท','model'=>'command-r-plus','type'=>'Gratuit limitรฉ','speed'=>'~5s'], 'ai21' => ['name'=>'AI21 Labs','icon'=>'๐Ÿ”ฌ','model'=>'jamba-instruct','type'=>'Payant','speed'=>'~5s'], 'xai' => ['name'=>'xAI Grok','icon'=>'โŒ','model'=>'grok-beta','type'=>'Payant','speed'=>'~5s'], 'perplexity' => ['name'=>'Perplexity','icon'=>'๐Ÿ”ฎ','model'=>'pplx-70b-online','type'=>'Payant','speed'=>'~5s'], 'vllm' => ['name'=>'vLLM (Custom)','icon'=>'๐Ÿ–ฅ๏ธ','model'=>'custom','type'=>'Self-hosted','speed'=>'~3s'], 'ollama' => ['name'=>'Ollama (Local)','icon'=>'๐Ÿฆ™','model'=>'phi:latest','type'=>'Local','speed'=>'~60s'], 'ollama-mini' => ['name'=>'Ollama Mini','icon'=>'๐Ÿฆ™','model'=>'phi:latest','type'=>'Local','speed'=>'~30s'], ]; $providersJson = json_encode($allProviders); ?> WEVAL MIND โ€” AI Assistant
WEVAL MIND
Normal
Doc Long
ToT
Score
Brain+
CoT
Reflect
KB
RAG
Denise
โ— 0 ? 'OK' : 'โ€”')?>
๐ŸŒ™โ˜€๏ธ
๐Ÿ’ฌ Conversation
๐ŸŽจ Artifacts
โš™๏ธ Admin
๐Ÿ“
Dรฉposez vos fichiers ici

WEVAL MIND

Assistant IA multi-provider โ€” Vision, Code, RAG, Agents et plus.

๐Ÿ“ธ
Vision
Analyse d'images, OCR
๐ŸŽจ
Crรฉer Image
Gรฉnรฉration IA
๐Ÿ’ป
Code
Dev, debug, review
๐Ÿ“š
RAG / KB
Base de connaissances
๐Ÿ“„
Fichiers
PDF, DOCX, vidรฉo
๐Ÿค–
Agent
Tรขches multi-รฉtapes
๐Ÿ“š KB ยท ๐Ÿง  mรฉm 0 tokens
๐ŸŽจ
Aucun artifact

Systรจme WEVAL MIND

Base de connaissances
Mรฉmoires
Conversations
Providers
Session
Statut
OK

Providers configurรฉs