Santé (healthcheck)
{{ 'Prêt' if dashboard.health.ready else 'Non prêt' }}
Chunks indexés : {{ dashboard.health.chunk_count or 0 }}
(index FAISS)
Pipeline – Métadonnées
Dernière exécution : {{ dashboard.pipeline.last_run or 'Jamais' }}
Durée totale : {% if dashboard.pipeline.duration_seconds is not none %}{{ dashboard.pipeline.duration_seconds }} s{% else %}-{% endif %}
Mode : {{ dashboard.pipeline.mode or '-' }}
{% if dashboard.pipeline.error %}Erreur {{ dashboard.pipeline.error }}
{% endif %}
Étape 1 – Scraping (crawl)
{% if dashboard.pipeline.scraping_stats and dashboard.pipeline.scraping_stats.total_urls is not none %}| total_urls | {{ dashboard.pipeline.scraping_stats.total_urls }} |
|---|---|
| pages_with_content | {{ dashboard.pipeline.scraping_stats.pages_with_content or '-' }} |
| failed_urls | {{ (dashboard.pipeline.scraping_stats.failed_urls|length) if dashboard.pipeline.scraping_stats.failed_urls else 0 }} |
Étape 2 – Chunking (sémantique)
Chunks produits : {{ dashboard.health.chunk_count or 0 }}
Étape 3 – Embeddings & index FAISS
Vecteurs (embeddings) : {{ dashboard.health.chunk_count or 0 }}
Mémoire & Chat
Mémoire longue durée : {{ dashboard.memory.entries_count or 0 }} entrées
Historique chat (session) : {{ dashboard.chat.history_count or 0 }} échanges
Dépenses API Scaleway
{% if dashboard.scaleway_billing and dashboard.scaleway_billing|length %}Période : {{ dashboard.scaleway_billing.period or 'Mois courant' }}
{% if dashboard.scaleway_billing.error %}Erreur API {{ dashboard.scaleway_billing.error }}
{% endif %}
{% if dashboard.scaleway_billing.total_eur is not none and not dashboard.scaleway_billing.error %}
Total mois : {{ "%.2f"|format(dashboard.scaleway_billing.total_eur) }} {{ dashboard.scaleway_billing.currency or 'EUR' }}
{% if dashboard.scaleway_billing.consumptions %}
| Catégorie | Montant |
|---|---|
| {{ c.category }} | {{ "%.2f"|format(c.amount_eur) if c.amount_eur is not none else '-' }} € |
Configuration (.env)
DEBUG {{ 'Activé (1)' if dashboard.config.debug else 'Désactivé (0)' }} — {{ 'Flask debug ON, scraping max 15 URLs' if dashboard.config.debug else 'Flask debug OFF, scraping sans limite' }}
SCW_API_KEY {{ 'Défini' if dashboard.config.scw_api_set else 'Non défini' }}
WIKI_USERNAME {{ 'Défini' if dashboard.config.wiki_username_set else 'Non défini' }}
WIKI_PASSWORD {{ 'Défini' if dashboard.config.wiki_password_set else 'Non défini' }}
Erreur lors du chargement. Utilisez Rafraîchir.
{% endif %}