2025-04-29 09:00:51,098 - MainLlamaVision - INFO - Initialisation du modèle LlamaVision: llama3.2-vision:90b-instruct-q8_0 2025-04-29 09:00:51,098 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (multilingual mode) 2025-04-29 09:00:51,098 - MainLlamaVision - INFO - Création des agents avec LlamaVision 2025-04-29 09:00:51,098 - AgentFactoryLlamaVision - INFO - 🔧 Création de tous les agents avec instances LLM indépendantes (modèle: llama3.2-vision:90b-instruct-q8_0) 2025-04-29 09:00:51,098 - AgentFactoryLlamaVision - INFO - 🔧 Initialisation de l'instance LLM pour l'agent d'analyse de ticket 2025-04-29 09:00:51,098 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0) 2025-04-29 09:00:51,098 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (multilingual mode) 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - 🔧 Initialisation de l'instance LLM pour l'agent de tri d'images 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0) 2025-04-29 09:00:51,099 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (multilingual mode) 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - 🔧 Initialisation de l'instance LLM pour l'agent d'analyse d'images 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0) 2025-04-29 09:00:51,099 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (multilingual mode) 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - 🔧 Initialisation de l'instance LLM pour l'agent de génération de rapport 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0) 2025-04-29 09:00:51,099 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (multilingual mode) 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - 🔧 Initialisation de l'instance LLM pour l'agent d'OCR avancé 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0) 2025-04-29 09:00:51,099 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (multilingual mode) 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - 🔧 Création des agents avec des instances LLM distinctes 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - Création de l'agent de tickets (llama_vision) 2025-04-29 09:00:51,099 - AgentTicketAnalyser - INFO - AgentTicketAnalyser initialisé 2025-04-29 09:00:51,099 - AgentFactoryLlamaVision - INFO - Création de l'agent de tri des images (llama_vision) 2025-04-29 09:00:51,100 - AgentImageSorter - INFO - AgentImageSorter (llama_vision) initialisé 2025-04-29 09:00:51,100 - AgentFactoryLlamaVision - INFO - Création de l'agent d'analyse des images (llama_vision) 2025-04-29 09:00:51,100 - AgentImageAnalyser - INFO - AgentImageAnalyser initialized 2025-04-29 09:00:51,100 - AgentFactoryLlamaVision - INFO - Création de l'agent de génération de rapports (llama_vision) 2025-04-29 09:00:51,100 - AgentReportGenerator - INFO - LlamaVision mode detected: using English system prompt 2025-04-29 09:00:51,100 - AgentReportGenerator - INFO - AgentReportGenerator initialized 2025-04-29 09:00:51,100 - AgentFactoryLlamaVision - INFO - Création de l'agent d'OCR visuel (llama_vision) 2025-04-29 09:00:51,100 - AgentVisionOCR - INFO - AgentVisionOCR initialisé avec prompt optimisé 2025-04-29 09:00:51,100 - MainLlamaVision - INFO - Configuration: { "dedup_enabled": true, "dedup_threshold": 5, "save_results": false, "debug_mode": false, "reports_dir": "reports", "ocr_enabled": true, "ocr_llm_enabled": true, "english_only": true, "model_name": "llama3.2-vision:90b-instruct-q8_0" } 2025-04-29 09:00:51,100 - MainLlamaVision - INFO - Création de l'orchestrateur pour le ticket T11143 2025-04-29 09:00:51,100 - OrchestratorLlamaVision - INFO - OrchestratorLlamaVision initialisé avec les paramètres: {'dedup_enabled': True, 'dedup_threshold': 5, 'save_results': False, 'debug_mode': False, 'reports_dir': 'reports', 'ocr_enabled': True, 'ocr_llm_enabled': True, 'english_only': True, 'model_name': 'llama3-2-vision-90b-instruct-q8-0'} 2025-04-29 09:00:51,100 - MainLlamaVision - INFO - Démarrage de l'analyse du ticket T11143 2025-04-29 09:00:51,100 - OrchestratorLlamaVision - INFO - [PIPELINE] Début d'analyse du ticket T11143 2025-04-29 09:00:51,101 - OrchestratorLlamaVision - INFO - === Exécution du ticket T11143 === 2025-04-29 09:00:51,101 - OrchestratorLlamaVision - INFO - Options: OCR=True, OCR_Avancé=True, Tri_Images=True, Analyse_Images=True, Rapport=True 2025-04-29 09:00:51,101 - OrchestratorLlamaVision - INFO - Répertoire d'extraction: output/ticket_T11143/T11143_20250422_084617 2025-04-29 09:00:51,101 - OrchestratorLlamaVision - INFO - Utilisation du modèle: llama3-2-vision-90b-instruct-q8-0 2025-04-29 09:00:51,101 - OrchestratorLlamaVision - INFO - Fichier ticket JSON: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/T11143_rapport.json 2025-04-29 09:00:51,101 - OrchestratorLlamaVision - INFO - [TICKET] Chargement du ticket depuis output/ticket_T11143/T11143_20250422_084617/T11143_rapports/T11143_rapport.json 2025-04-29 09:00:51,101 - OrchestratorLlamaVision - INFO - [TICKET] Titre: BRGLAB - Essai inaccessible 2025-04-29 09:00:51,101 - OrchestratorLlamaVision - INFO - [TICKET] Données chargées: 3 messages, 1088 caractères 2025-04-29 09:00:51,102 - OrchestratorLlamaVision - INFO - 1️⃣ Exécution de l'agent d'analyse de ticket pour T11143 2025-04-29 09:00:51,102 - OrchestratorLlamaVision - INFO - [LANGUE] Analyse du ticket directement en français: 1088 caractères 2025-04-29 09:00:51,102 - AgentTicketAnalyser - INFO - [ANALYSE-TICKET] Analyse du ticket T11143 directement en français 2025-04-29 09:00:51,102 - AgentTicketAnalyser - INFO - [ANALYSE-TICKET] Test d'analyse directe en français, 1088 caractères 2025-04-29 09:00:51,102 - AgentTicketAnalyser - INFO - [ANALYSE-TICKET] Taille du prompt en français: 1622 caractères 2025-04-29 09:00:51,102 - AgentTicketAnalyser - INFO - [ANALYSE-TICKET] Envoi du prompt en français au modèle pour analyse du ticket T11143 2025-04-29 09:02:21,136 - AgentTicketAnalyser - INFO - [ANALYSE-TICKET] Réponse reçue en français: 1083 caractères 2025-04-29 09:02:21,137 - AgentTicketAnalyser - INFO - [ANALYSE-TICKET] 4 URLs extraites de l'analyse: ['https://zk1.brg-lab.com', 'https://odoo.cbao.fr', 'https://odoo.cbao.fr/web/image/145435?access_token=608ac9e7-3627-4a13-a8ec-06ff5046ebf3', 'https://zk1.brg-lab.com/'] 2025-04-29 09:02:21,137 - AgentTicketAnalyser - INFO - [ANALYSE-TICKET] Analyse directe en français terminée: 1083 caractères 2025-04-29 09:02:21,137 - OrchestratorLlamaVision - INFO - Analyse du ticket en français terminée et sauvegardée 2025-04-29 09:02:21,137 - OrchestratorLlamaVision - INFO - [IMAGES] Recherche d'images dans output/ticket_T11143/T11143_20250422_084617/attachments 2025-04-29 09:02:21,146 - OrchestratorLlamaVision - INFO - [IMAGES] 6 images trouvées dans output/ticket_T11143/T11143_20250422_084617/attachments 2025-04-29 09:02:21,146 - OrchestratorLlamaVision - INFO - [IMAGES] 1/6: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif 2025-04-29 09:02:21,146 - OrchestratorLlamaVision - INFO - [IMAGES] 2/6: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png 2025-04-29 09:02:21,146 - OrchestratorLlamaVision - INFO - [IMAGES] 3/6: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg 2025-04-29 09:02:21,146 - OrchestratorLlamaVision - INFO - [IMAGES] 4/6: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/5ad281b63492e31c9e66bf27518b816cdd3766cab9812bd4ff16b736e9e98265.jpg 2025-04-29 09:02:21,146 - OrchestratorLlamaVision - INFO - [IMAGES] 5/6: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png 2025-04-29 09:02:21,146 - OrchestratorLlamaVision - INFO - [IMAGES] 6/6: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145453.png 2025-04-29 09:02:21,146 - OrchestratorLlamaVision - INFO - Trouvé 6 images dans output/ticket_T11143/T11143_20250422_084617/attachments 2025-04-29 09:02:21,307 - OrchestratorLlamaVision - INFO - Déduplication: 6 → 4 images uniques 2025-04-29 09:02:21,307 - OrchestratorLlamaVision - INFO - 2️⃣ Traitement OCR standard de 4 images 2025-04-29 09:02:21,307 - OrchestratorLlamaVision - INFO - OCR sur image: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png 2025-04-29 09:02:21,307 - OCR - INFO - Traitement OCR pour /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png (langue: auto) 2025-04-29 09:02:24,052 - OCR - INFO - Langue détectée: eng 2025-04-29 09:02:24,707 - OCR - WARNING - Impossible de sauvegarder les fichiers de débogage: cannot write mode RGBA as JPEG 2025-04-29 09:02:24,707 - OCR - INFO - OCR réussi [/home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png] — 1347 caractères: Apache Tomcat x + GC @ 2 zk1.brg-lab.com @ Andre Demo Devmat @ Base modéle It works ! If you're ... 2025-04-29 09:02:24,707 - Translate - INFO - [SAUVEGARDE] Sauvegarde des résultats OCR et traduction pour image.png 2025-04-29 09:02:24,707 - Translate - INFO - [SAUVEGARDE] Contenus: OCR FR=1347 caractères, OCR EN=1347 caractères, OCR EN→FR=0 caractères 2025-04-29 09:02:24,707 - Translate - INFO - [SAUVEGARDE] Utilisation du répertoire fourni: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction 2025-04-29 09:02:24,707 - Translate - INFO - [SAUVEGARDE] Fichier JSON enregistré: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction/image.png.json 2025-04-29 09:02:24,707 - Translate - INFO - [SAUVEGARDE] Ligne ajoutée dans le fichier global: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction/ocr_traduction.txt 2025-04-29 09:02:24,707 - OrchestratorLlamaVision - INFO - OCR terminé pour image.png: 1347 caractères (en) 2025-04-29 09:02:24,708 - OrchestratorLlamaVision - INFO - OCR sur image: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png 2025-04-29 09:02:24,708 - OCR - INFO - Traitement OCR pour /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png (langue: auto) 2025-04-29 09:02:25,799 - OCR - INFO - Langue détectée: fra 2025-04-29 09:02:26,083 - OCR - INFO - Images prétraitées et résultat OCR sauvegardés dans debug_ocr 2025-04-29 09:02:26,083 - OCR - INFO - OCR réussi [/home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png] — 373 caractères: C3 giraudbrg-lobicom/BRG-LAB/PAGE programmetssai/zEAAAHEVNGOAA BRGLAS CD Béton CD Foumasew tubo © ... 2025-04-29 09:02:26,083 - Translate - INFO - [TRADUCTION] FR → EN: Traduction de 373 caractères 2025-04-29 09:02:26,274 - Translate - INFO - [TRADUCTION] FR → EN: Résultat obtenu de 367 caractères 2025-04-29 09:02:26,275 - Translate - INFO - [SAUVEGARDE] Sauvegarde des résultats OCR et traduction pour image_145435.png 2025-04-29 09:02:26,275 - Translate - INFO - [SAUVEGARDE] Contenus: OCR FR=373 caractères, OCR EN=367 caractères, OCR EN→FR=0 caractères 2025-04-29 09:02:26,275 - Translate - INFO - [SAUVEGARDE] Utilisation du répertoire fourni: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction 2025-04-29 09:02:26,275 - Translate - INFO - [SAUVEGARDE] Fichier JSON enregistré: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction/image_145435.png.json 2025-04-29 09:02:26,275 - Translate - INFO - [SAUVEGARDE] Ligne ajoutée dans le fichier global: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction/ocr_traduction.txt 2025-04-29 09:02:26,275 - OrchestratorLlamaVision - INFO - OCR terminé pour image_145435.png: 373 caractères (fr) 2025-04-29 09:02:26,275 - OrchestratorLlamaVision - INFO - OCR sur image: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg 2025-04-29 09:02:26,275 - OCR - INFO - Traitement OCR pour /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg (langue: auto) 2025-04-29 09:02:28,198 - OCR - INFO - Langue détectée: fra 2025-04-29 09:02:29,338 - OCR - WARNING - OCR vide (aucun texte détecté) pour /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg 2025-04-29 09:02:29,338 - Translate - INFO - [SAUVEGARDE] Sauvegarde des résultats OCR et traduction pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg 2025-04-29 09:02:29,338 - Translate - INFO - [SAUVEGARDE] Contenus: OCR FR=0 caractères, OCR EN=0 caractères, OCR EN→FR=0 caractères 2025-04-29 09:02:29,338 - Translate - INFO - [SAUVEGARDE] Utilisation du répertoire fourni: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction 2025-04-29 09:02:29,338 - Translate - INFO - [SAUVEGARDE] Fichier JSON enregistré: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg.json 2025-04-29 09:02:29,338 - Translate - INFO - [SAUVEGARDE] Ligne ajoutée dans le fichier global: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction/ocr_traduction.txt 2025-04-29 09:02:29,339 - OrchestratorLlamaVision - INFO - OCR terminé pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg: 0 caractères (unknown) 2025-04-29 09:02:29,339 - OrchestratorLlamaVision - INFO - OCR sur image: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif 2025-04-29 09:02:29,339 - OCR - INFO - Traitement OCR pour /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (langue: auto) 2025-04-29 09:02:29,339 - OCR - ERROR - Erreur lors du prétraitement de l'image /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif: image has wrong mode 2025-04-29 09:02:29,576 - OCR - INFO - Langue détectée: fra 2025-04-29 09:02:29,684 - OCR - WARNING - OCR vide (aucun texte détecté) pour /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif 2025-04-29 09:02:29,684 - Translate - INFO - [SAUVEGARDE] Sauvegarde des résultats OCR et traduction pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif 2025-04-29 09:02:29,684 - Translate - INFO - [SAUVEGARDE] Contenus: OCR FR=0 caractères, OCR EN=0 caractères, OCR EN→FR=0 caractères 2025-04-29 09:02:29,684 - Translate - INFO - [SAUVEGARDE] Utilisation du répertoire fourni: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction 2025-04-29 09:02:29,684 - Translate - INFO - [SAUVEGARDE] Fichier JSON enregistré: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif.json 2025-04-29 09:02:29,684 - Translate - INFO - [SAUVEGARDE] Ligne ajoutée dans le fichier global: output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/ocr_traduction/ocr_traduction.txt 2025-04-29 09:02:29,684 - OrchestratorLlamaVision - INFO - OCR terminé pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif: 0 caractères (unknown) 2025-04-29 09:02:29,684 - OrchestratorLlamaVision - INFO - 3️⃣ Tri de 4 images 2025-04-29 09:02:29,684 - OrchestratorLlamaVision - INFO - [TRI] Image originale: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png 2025-04-29 09:02:29,684 - OrchestratorLlamaVision - INFO - [TRI] Contexte OCR fourni: 1347 caractères 2025-04-29 09:02:50,351 - OrchestratorLlamaVision - INFO - [TRI] Image image.png marquée comme pertinente 2025-04-29 09:02:50,352 - OrchestratorLlamaVision - INFO - [TRI] Image originale: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png 2025-04-29 09:02:50,352 - OrchestratorLlamaVision - INFO - [TRI] Contexte OCR fourni: 367 caractères 2025-04-29 09:03:08,296 - OrchestratorLlamaVision - INFO - [TRI] Image image_145435.png marquée comme pertinente 2025-04-29 09:03:08,296 - OrchestratorLlamaVision - INFO - [TRI] Image originale: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg 2025-04-29 09:03:08,296 - OrchestratorLlamaVision - INFO - [TRI] Contexte OCR fourni: 0 caractères 2025-04-29 09:03:26,485 - OrchestratorLlamaVision - INFO - [TRI] Image originale: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif 2025-04-29 09:03:26,485 - OrchestratorLlamaVision - INFO - [TRI] Contexte OCR fourni: 0 caractères 2025-04-29 09:03:26,486 - AgentImageSorter - WARNING - Image trop petite: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (1x1) 2025-04-29 09:03:26,486 - AgentImageSorter - INFO - Sauvegarde de 4 résultats de tri d'images 2025-04-29 09:03:26,487 - OrchestratorLlamaVision - INFO - Résultats de tri sauvegardés (2 pertinentes sur 4) 2025-04-29 09:03:26,487 - OrchestratorLlamaVision - INFO - [NETTOYAGE] Abandon explicite des résultats OCR standard après tri des images 2025-04-29 09:03:26,487 - OrchestratorLlamaVision - INFO - 4️⃣ OCR avancé (LLM) sur 2 images pertinentes 2025-04-29 09:03:26,487 - OrchestratorLlamaVision - INFO - [OCR-LLM] Analyse OCR avancé sur image originale: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png 2025-04-29 09:03:26,487 - AgentVisionOCR - INFO - [OCR-LLM] Extraction OCR avancé sur image.png 2025-04-29 09:03:26,487 - AgentVisionOCR - INFO - [OCR-LLM] Analyse directe de l'image, chemin: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png 2025-04-29 09:03:33,405 - AgentVisionOCR - INFO - [OCR-LLM] Texte extrait: 38 caractères 2025-04-29 09:03:33,405 - AgentVisionOCR - INFO - [OCR-LLM] OCR avancé réussi: 47 caractères extraits 2025-04-29 09:03:33,405 - OrchestratorLlamaVision - INFO - OCR avancé terminé pour image.png: 47 caractères 2025-04-29 09:03:33,405 - OrchestratorLlamaVision - INFO - [OCR-LLM] Analyse OCR avancé sur image originale: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png 2025-04-29 09:03:33,405 - AgentVisionOCR - INFO - [OCR-LLM] Extraction OCR avancé sur image_145435.png 2025-04-29 09:03:33,405 - AgentVisionOCR - INFO - [OCR-LLM] Analyse directe de l'image, chemin: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png 2025-04-29 09:03:40,296 - AgentVisionOCR - INFO - [OCR-LLM] Texte extrait: 38 caractères 2025-04-29 09:03:40,297 - AgentVisionOCR - INFO - [OCR-LLM] OCR avancé réussi: 47 caractères extraits 2025-04-29 09:03:40,297 - OrchestratorLlamaVision - INFO - OCR avancé terminé pour image_145435.png: 47 caractères 2025-04-29 09:03:40,297 - AgentVisionOCR - INFO - [OCR-LLM] Sauvegarde de 2 résultats dédupliqués 2025-04-29 09:03:40,298 - OrchestratorLlamaVision - INFO - Résultats d'OCR avancé sauvegardés 2025-04-29 09:03:40,299 - OrchestratorLlamaVision - INFO - 5️⃣ Analyse de 2 images pertinentes 2025-04-29 09:03:40,299 - OrchestratorLlamaVision - INFO - [ANALYSE] Contexte OCR LLM disponible pour image.png: 47 caractères 2025-04-29 09:03:40,299 - OrchestratorLlamaVision - INFO - [CONTEXTE] Analyse de ticket incluse: 1083 caractères 2025-04-29 09:03:40,299 - OrchestratorLlamaVision - INFO - [CONTEXTE] OCR LLM inclus: 47 caractères 2025-04-29 09:03:40,299 - OrchestratorLlamaVision - INFO - [CONTEXTE] Contexte enrichi construit avec 2 éléments 2025-04-29 09:03:40,299 - OrchestratorLlamaVision - INFO - [ANALYSE] Analyse de l'image originale: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png 2025-04-29 09:03:40,299 - AgentImageAnalyser - INFO - Analyzing image: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image.png 2025-04-29 09:03:40,300 - AgentImageAnalyser - INFO - [LANGUE] Envoi d'une requête en anglais au modèle avec une image: image.png 2025-04-29 09:03:40,300 - AgentImageAnalyser - INFO - [LANGUE] Taille du prompt en anglais: 617 caractères 2025-04-29 09:05:33,170 - AgentImageAnalyser - INFO - [LANGUE] Réponse reçue du modèle en anglais: 2321 caractères 2025-04-29 09:05:33,170 - AgentImageAnalyser - INFO - [TRADUCTION] Traduction de la réponse d'analyse d'image de EN vers FR 2025-04-29 09:05:33,170 - AgentImageAnalyser - INFO - [TRADUCTION] Taille de la réponse en anglais: 2321 caractères 2025-04-29 09:05:33,170 - Translate - INFO - [TRADUCTION] EN → FR: Traduction de 2321 caractères 2025-04-29 09:05:34,338 - Translate - INFO - [TRADUCTION] EN → FR: Résultat obtenu de 2718 caractères 2025-04-29 09:05:34,338 - AgentImageAnalyser - INFO - [TRADUCTION] Taille de la réponse traduite en français: 2718 caractères 2025-04-29 09:05:34,338 - AgentImageAnalyser - INFO - [LANGUES] Résultat d'analyse disponible en deux langues: EN et FR 2025-04-29 09:05:34,338 - OrchestratorLlamaVision - INFO - [TRADUCTION] Traduction du résultat d'analyse d'image EN → FR 2025-04-29 09:05:34,338 - OrchestratorLlamaVision - INFO - Analyse terminée pour image.png 2025-04-29 09:05:34,338 - OrchestratorLlamaVision - INFO - [ANALYSE] Contexte OCR LLM disponible pour image_145435.png: 47 caractères 2025-04-29 09:05:34,338 - OrchestratorLlamaVision - INFO - [CONTEXTE] Analyse de ticket incluse: 1083 caractères 2025-04-29 09:05:34,338 - OrchestratorLlamaVision - INFO - [CONTEXTE] OCR LLM inclus: 47 caractères 2025-04-29 09:05:34,338 - OrchestratorLlamaVision - INFO - [CONTEXTE] Contexte enrichi construit avec 2 éléments 2025-04-29 09:05:34,338 - OrchestratorLlamaVision - INFO - [ANALYSE] Analyse de l'image originale: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png 2025-04-29 09:05:34,338 - AgentImageAnalyser - INFO - Analyzing image: /home/fgras-ca/llm-ticket3/output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png 2025-04-29 09:05:34,338 - AgentImageAnalyser - INFO - [LANGUE] Envoi d'une requête en anglais au modèle avec une image: image_145435.png 2025-04-29 09:05:34,339 - AgentImageAnalyser - INFO - [LANGUE] Taille du prompt en anglais: 624 caractères 2025-04-29 09:07:33,455 - AgentImageAnalyser - INFO - [LANGUE] Réponse reçue du modèle en anglais: 2539 caractères 2025-04-29 09:07:33,455 - AgentImageAnalyser - INFO - [TRADUCTION] Traduction de la réponse d'analyse d'image de EN vers FR 2025-04-29 09:07:33,456 - AgentImageAnalyser - INFO - [TRADUCTION] Taille de la réponse en anglais: 2539 caractères 2025-04-29 09:07:33,456 - Translate - INFO - [TRADUCTION] EN → FR: Traduction de 2539 caractères 2025-04-29 09:07:34,169 - Translate - INFO - [TRADUCTION] EN → FR: Résultat obtenu de 2866 caractères 2025-04-29 09:07:34,169 - AgentImageAnalyser - INFO - [TRADUCTION] Taille de la réponse traduite en français: 2866 caractères 2025-04-29 09:07:34,169 - AgentImageAnalyser - INFO - [LANGUES] Résultat d'analyse disponible en deux langues: EN et FR 2025-04-29 09:07:34,169 - OrchestratorLlamaVision - INFO - [TRADUCTION] Traduction du résultat d'analyse d'image EN → FR 2025-04-29 09:07:34,169 - OrchestratorLlamaVision - INFO - Analyse terminée pour image_145435.png 2025-04-29 09:07:34,169 - AgentImageAnalyser - INFO - [SAUVEGARDE] Préparation de la sauvegarde de 2 résultats d'analyse d'images 2025-04-29 09:07:34,170 - AgentImageAnalyser - INFO - [SAUVEGARDE] Préparation pour le ticket T11143: 2 résultats 2025-04-29 09:07:34,170 - AgentImageAnalyser - INFO - [SAUVEGARDE] Nom du modèle normalisé: llama3-2-vision-90b-instruct-q8-0 2025-04-29 09:07:34,170 - AgentImageAnalyser - INFO - [SAUVEGARDE] Sauvegarde groupée de 2 résultats d'analyse d'images effectuée 2025-04-29 09:07:34,170 - OrchestratorLlamaVision - INFO - Résultats d'analyse d'images (FR) sauvegardés via agent 2025-04-29 09:07:34,171 - OrchestratorLlamaVision - INFO - Analyse d'images (FR) sauvegardée via sauvegarder_donnees 2025-04-29 09:07:34,171 - OrchestratorLlamaVision - INFO - 6️⃣ Génération du rapport final entièrement en français pour le ticket T11143 2025-04-29 09:07:34,171 - AgentReportGenerator - DEBUG - Data received for T11143: {"ticket_id": "T11143", "ticket_data": {"id": "11122", "code": "T11143", "name": "BRGLAB - Essai inaccessible", "description": "*Contenu non extractible*", "project_name": "Demandes", "stage_name": "Cl\u00f4tur\u00e9", "user_id": "", "partner_id_email_from": "GIRAUD TP (JCG), Victor BOLL\u00c9E, v.bollee@labojcg.fr", "create_date": "03/04/2025 08:34:43", "write_date_last_modification": "03/04/2025 12:23:31", "date_deadline": "18/04/2025 00:00:00", "messages": [{"author_id": "Fabien LAFAY", "date... 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - Validation for T11143: OK, 2 images analyzed out of 4 images 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - Number of images to analyze: 4 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - Adding analysis of image image.png (2321 characters) 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - Adding analysis of image image_145435.png (2539 characters) 2025-04-29 09:07:34,171 - AgentReportGenerator - WARNING - Image 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg without analysis 2025-04-29 09:07:34,171 - AgentReportGenerator - WARNING - Image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif without analysis 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - Size of ticket analysis: 4 characters 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - Size of image block: 4922 characters 2025-04-29 09:07:34,171 - AgentReportGenerator - DEBUG - Generated prompt (8352 characters): Voici les données d'analyse pour un ticket de support : === ANALYSE DU TICKET === {'prompt': "TITRE: BRGLAB - Essai inaccessible\n\n[03/04/2025 08:35:20] Fabien LAFAY (Système):\nGIRAUD TP (JCG), Victor BOLLÉE\n-\nil y a 9 minutes\n;\nFabien LAFAY\n;\nRomuald GRUSON\n;\nsupport\n;\nsupport\n-\nQuentin FAIVRE\n-\nFabien LAFAY\n-\nRomuald GRUSON\nBonjour,\nJe ne parviens pas à accéder au l’essai au bleu\xa0:\nMerci par avance pour votre.\nCordialement\n![Image](https://odoo.cbao.fr/web/image/1454... 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - [LANGUE] Le modèle 'llama3.2-vision:90b-instruct-q8_0' nécessite une entrée en anglais 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - [TRADUCTION] Traduction du prompt FR → EN pour T11143 2025-04-29 09:07:34,171 - AgentReportGenerator - INFO - [TRADUCTION] Taille du prompt original en français: 8352 caractères 2025-04-29 09:07:34,171 - Translate - INFO - [TRADUCTION] FR → EN: Traduction de 8352 caractères 2025-04-29 09:07:34,171 - Translate - INFO - [TRADUCTION] Texte trop long (8352 caractères), découpage en 2 morceaux 2025-04-29 09:07:35,937 - Translate - INFO - [TRADUCTION] FR → EN: Résultat obtenu de 8276 caractères 2025-04-29 09:07:35,937 - AgentReportGenerator - INFO - [TRADUCTION] Taille du prompt traduit en anglais: 8306 caractères 2025-04-29 09:07:35,937 - AgentReportGenerator - INFO - [LANGUE] Envoi du prompt en anglais au modèle 2025-04-29 09:09:16,624 - AgentReportGenerator - INFO - [LANGUE] Réponse reçue du modèle en anglais: 2004 caractères 2025-04-29 09:09:16,624 - AgentReportGenerator - INFO - [TRADUCTION] Traduction de la réponse EN → FR pour compatibilité 2025-04-29 09:09:16,624 - AgentReportGenerator - INFO - [TRADUCTION] Taille de la réponse originale en anglais: 2004 caractères 2025-04-29 09:09:16,624 - Translate - INFO - [TRADUCTION] EN → FR: Traduction de 2004 caractères 2025-04-29 09:09:17,211 - Translate - INFO - [TRADUCTION] EN → FR: Résultat obtenu de 2261 caractères 2025-04-29 09:09:17,211 - AgentReportGenerator - INFO - [TRADUCTION] Taille de la réponse traduite en français: 2261 caractères 2025-04-29 09:09:17,211 - AgentReportGenerator - DEBUG - Response received (2261 characters): ** Rapport croisé ** ** Tableau chronologique des échanges ** | Émetteur | Type | Date | Contenu | Éléments visuels | | --- | --- | --- | --- | --- | | Client | Question | 2023-02-15 14:30:00 | Signalé un problème avec le système (détails non visibles en raison de la qualité de l'image) | Capture d'écran de l'interface de billets de support technique (# 145435) | | Agent de support | Réponse | 2023-02-15 14:45:00 | Informations supplémentaires demandées ou clarification sur le problème (détail... 2025-04-29 09:09:17,214 - OrchestratorLlamaVision - INFO - Rapport généré avec succès 2025-04-29 09:09:17,214 - OrchestratorLlamaVision - INFO - 7️⃣ Extraction CSV pour le ticket T11143 2025-04-29 09:09:17,214 - ReportCSVExporter - INFO - Traitement du rapport: rapport_final_llama3-vision-90b-instruct_results.json 2025-04-29 09:09:17,216 - ReportCSVExporter - INFO - CSV échanges généré: /home/fgras-ca/llm-ticket3/CSV/T11143/T11143_llama3.2-vision_90b-instruct-q8_0_exchanges.csv 2025-04-29 09:09:17,216 - ReportCSVExporter - INFO - Traitement terminé. 1 modèles traités: llama3.2-vision_90b-instruct-q8_0 2025-04-29 09:09:17,216 - OrchestratorLlamaVision - INFO - Extraction CSV terminée avec succès 2025-04-29 09:09:17,216 - OrchestratorLlamaVision - INFO - === Traitement du ticket T11143 terminé === 2025-04-29 09:09:17,216 - OrchestratorLlamaVision - INFO - [PIPELINE] Analyse du ticket T11143 terminée avec succès 2025-04-29 09:09:17,216 - MainLlamaVision - INFO - Analyse du ticket T11143 terminée 2025-04-29 09:09:17,216 - MainLlamaVision - INFO - Génération des fichiers CSV pour le ticket T11143 2025-04-29 09:09:17,216 - ReportCSVExporter - INFO - Traitement du rapport: rapport_final_llama3-vision-90b-instruct_results.json 2025-04-29 09:09:17,217 - ReportCSVExporter - INFO - CSV échanges généré: /home/fgras-ca/llm-ticket3/CSV/T11143/T11143_llama3.2-vision_90b-instruct-q8_0_exchanges.csv 2025-04-29 09:09:17,217 - ReportCSVExporter - INFO - Traitement terminé. 1 modèles traités: llama3.2-vision_90b-instruct-q8_0 2025-04-29 09:09:17,217 - MainLlamaVision - INFO - Fichiers CSV générés avec succès