- Frontend v4 accessible sur réseau local (192.168.1.40) - Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard) - Ollama GPU fonctionnel - Self-healing interactif - Dashboard confiance Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
56 lines
2.0 KiB
Plaintext
56 lines
2.0 KiB
Plaintext
# RPA Vision V3 Configuration
|
|
# Copier ce fichier en .env et modifier les valeurs
|
|
# cp .env.example .env
|
|
|
|
# ============================================================================
|
|
# Environment
|
|
# ============================================================================
|
|
ENVIRONMENT=development # development, staging, production
|
|
DEBUG=false
|
|
|
|
# ============================================================================
|
|
# Server
|
|
# ============================================================================
|
|
API_HOST=0.0.0.0
|
|
API_PORT=8000
|
|
DASHBOARD_HOST=0.0.0.0
|
|
DASHBOARD_PORT=5001
|
|
|
|
# ============================================================================
|
|
# Security (REQUIRED in production!)
|
|
# ============================================================================
|
|
# Générer avec: python -c "import secrets; print(secrets.token_urlsafe(32))"
|
|
# ENCRYPTION_PASSWORD=your_secure_password_here
|
|
# SECRET_KEY=your_secret_key_here
|
|
# ALLOWED_ORIGINS=https://yourdomain.com,https://api.yourdomain.com
|
|
|
|
# ============================================================================
|
|
# Models
|
|
# ============================================================================
|
|
CLIP_MODEL=ViT-B-32
|
|
CLIP_PRETRAINED=openai
|
|
CLIP_DEVICE=cpu # cpu or cuda
|
|
VLM_MODEL=qwen3-vl:8b
|
|
VLM_ENDPOINT=http://localhost:11434
|
|
OWL_MODEL=google/owlv2-base-patch16-ensemble
|
|
OWL_CONFIDENCE_THRESHOLD=0.1
|
|
|
|
# ============================================================================
|
|
# Paths
|
|
# ============================================================================
|
|
DATA_PATH=data
|
|
MODELS_PATH=models
|
|
LOGS_PATH=logs
|
|
UPLOADS_PATH=data/training/uploads
|
|
SESSIONS_PATH=data/training/sessions
|
|
|
|
# ============================================================================
|
|
# FAISS
|
|
# ============================================================================
|
|
FAISS_DIMENSIONS=512
|
|
FAISS_INDEX_TYPE=Flat # Flat, IVF, HNSW
|
|
FAISS_METRIC=cosine # cosine, l2, ip
|
|
FAISS_NPROBE=8
|
|
FAISS_AUTO_OPTIMIZE=true
|
|
FAISS_MIGRATION_THRESHOLD=10000
|