From c75faf7905ad4f379413e7eb687ca3b83972fc98 Mon Sep 17 00:00:00 2001 From: Ladebeze66 Date: Fri, 25 Apr 2025 09:59:43 +0200 Subject: [PATCH] 9:59 --- .gitignore | 6 +- agents/llama_vision/agent_image_analyser.py | 5 +- agents/utils/pipeline_logger.py | 9 + debug_analyser.log | 65 + execution.log | 93 ++ main.log | 0 main_llama.log | 0 orchestrator.log | 101 ++ orchestrator_llama.log | 101 ++ .../analyse_image_unknown_model_results.json | 42 - .../analyse_image_unknown_model_results.txt | 18 - ...a3-2-vision-90b-instruct-q8-0_results.json | 26 - ...ma3-2-vision-90b-instruct-q8-0_results.txt | 29 - ...962ed21795c4e943fcb8cb84fd4d7465a.jpg.json | 2 +- ...20e0e112c46b4440cc938f74d10934e98.gif.json | 2 +- .../pipeline/ocr_traduction/image.png.json | 2 +- .../ocr_traduction/image_145435.png.json | 2 +- .../ocr_traduction/ocr_traduction.txt | 110 ++ .../pipeline/rapport_de_deduplication.json | 26 - ...a3-2-vision-90b-instruct-q8-0_results.json | 23 - ...ma3-2-vision-90b-instruct-q8-0_results.txt | 34 - ...ge_llama3-vision-90b-instruct_results.json | 73 -- ...age_llama3-vision-90b-instruct_results.txt | 36 - retrieve_tickets_batch.log | 1159 +++++++++++++++++ test_image_analyse.log | 7 + 25 files changed, 1656 insertions(+), 315 deletions(-) create mode 100644 debug_analyser.log create mode 100644 execution.log create mode 100644 main.log create mode 100644 main_llama.log create mode 100644 orchestrator.log create mode 100644 orchestrator_llama.log delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_image_unknown_model_results.json delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_image_unknown_model_results.txt delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_ticket_llama3-2-vision-90b-instruct-q8-0_results.json delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_ticket_llama3-2-vision-90b-instruct-q8-0_results.txt delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/rapport_de_deduplication.json delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/rapport_final_llama3-2-vision-90b-instruct-q8-0_results.json delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/rapport_final_llama3-2-vision-90b-instruct-q8-0_results.txt delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/tri_image_llama3-vision-90b-instruct_results.json delete mode 100644 output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/tri_image_llama3-vision-90b-instruct_results.txt create mode 100644 retrieve_tickets_batch.log create mode 100644 test_image_analyse.log diff --git a/.gitignore b/.gitignore index a323a80..858e7d6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ venv/ env/ ENV/ venv_new/ - - +utils/ +output/ *.yml @@ -22,7 +22,7 @@ build/ *.egg-info/ # Logs -*.log +#*.log # Local configuration .env \ No newline at end of file diff --git a/agents/llama_vision/agent_image_analyser.py b/agents/llama_vision/agent_image_analyser.py index 48aaa92..39f3375 100644 --- a/agents/llama_vision/agent_image_analyser.py +++ b/agents/llama_vision/agent_image_analyser.py @@ -318,8 +318,11 @@ Structure your analysis clearly with headers and bullet points. return result # Récupération du nom normalisé du modèle - model_name = getattr(self.llm, "pipeline_normalized_name", "llama3-vision-90b-instruct") + model_name = getattr(self.llm, "pipeline_normalized_name", getattr(self.llm, "modele", "llama3-vision-90b-instruct")) + # Si model_name contient des caractères spéciaux, les remplacer par des tirets + model_name = model_name.replace(".", "-").replace(":", "-").replace("_", "-") + # Construction du résultat resultat = { "timestamp": datetime.now().isoformat(), diff --git a/agents/utils/pipeline_logger.py b/agents/utils/pipeline_logger.py index 38ad6d9..2da098d 100644 --- a/agents/utils/pipeline_logger.py +++ b/agents/utils/pipeline_logger.py @@ -109,6 +109,15 @@ def generer_version_texte(data: Union[Dict[str, Any], list], ticket_id: str, ste # Priorité 2: Champ "analyse" (pour les analyses d'images) elif "analyse" in item and isinstance(item["analyse"], str): f.write(f"{item['analyse']}\n\n") + + # Priorité 2b: Champ "analyse" + elif "analyse" in item and isinstance(item["analyse"], dict): + # Priorité à la version française si disponible + if "fr" in item["analyse"] and item["analyse"]["fr"]: + f.write(f"{item['analyse']['fr']}\n\n") + # Sinon, utiliser la version anglaise + elif "en" in item["analyse"] and item["analyse"]["en"]: + f.write(f"{item['analyse']['en']}\n\n") # Priorité 3: Champ "raw_response" (pour les analyses brutes) elif "raw_response" in item and isinstance(item["raw_response"], str): diff --git a/debug_analyser.log b/debug_analyser.log new file mode 100644 index 0000000..d4e2334 --- /dev/null +++ b/debug_analyser.log @@ -0,0 +1,65 @@ +2025-04-24 15:31:15,914 - DebugImageAnalyser - INFO - Création des agents +2025-04-24 15:31:15,914 - AgentFactoryLlamaVision - INFO - Création de l'agent d'analyse des images (llama_vision) +2025-04-24 15:31:15,914 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0) +2025-04-24 15:31:15,915 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode) +2025-04-24 15:31:15,915 - AgentImageAnalyser - INFO - AgentImageAnalyser initialized +2025-04-24 15:31:15,915 - DebugImageAnalyser - INFO - Agent créé: AgentImageAnalyser +2025-04-24 15:31:15,915 - DebugImageAnalyser - INFO - Attribut llm: None +2025-04-24 15:31:15,915 - DebugImageAnalyser - INFO - Méthode peut_analyser_images: False +2025-04-24 15:31:15,915 - DebugImageAnalyser - INFO - Méthode analyser_image: False +2025-04-24 15:31:15,915 - DebugImageAnalyser - INFO - Analyse de l'image: output/ticket_T11143/T11143_20250422_084617/attachments/image.png +2025-04-24 15:31:15,915 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image.png (langue: auto) +2025-04-24 15:31:15,924 - PIL.PngImagePlugin - DEBUG - STREAM b'IHDR' 16 13 +2025-04-24 15:31:15,925 - PIL.PngImagePlugin - DEBUG - STREAM b'IDAT' 41 8192 +2025-04-24 15:31:16,004 - PIL.PngImagePlugin - DEBUG - STREAM b'IHDR' 16 13 +2025-04-24 15:31:16,004 - PIL.PngImagePlugin - DEBUG - STREAM b'IDAT' 41 8192 +2025-04-24 15:31:16,330 - pytesseract - DEBUG - ['tesseract', '/tmp/tess_fq8s4asr_input.PNG', '/tmp/tess_fq8s4asr', '-l', 'fra', '--psm', '3', '--oem', '3', 'txt'] +2025-04-24 15:31:16,971 - pytesseract - DEBUG - ['tesseract', '/tmp/tess_o8makweo_input.PNG', '/tmp/tess_o8makweo', '-l', 'eng', '--psm', '3', '--oem', '3', 'txt'] +2025-04-24 15:31:17,582 - pytesseract - DEBUG - ['tesseract', '/tmp/tess_kdgl5lcw_input.PNG', '/tmp/tess_kdgl5lcw', '-l', 'fra+eng', '--psm', '3', '--oem', '3', 'txt'] +2025-04-24 15:31:18,510 - OCR - INFO - Langue détectée: eng +2025-04-24 15:31:18,593 - pytesseract - DEBUG - ['tesseract', '/tmp/tess_cq33tt5t_input.PNG', '/tmp/tess_cq33tt5t', '-l', 'eng', '--psm', '3', '--oem', '3', 'txt'] +2025-04-24 15:31:19,132 - OCR - WARNING - Impossible de sauvegarder les fichiers de débogage: cannot write mode RGBA as JPEG +2025-04-24 15:31:19,132 - OCR - INFO - OCR réussi [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-24 15:31:19,133 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): translate.google.com:443 +2025-04-24 15:31:19,260 - urllib3.connectionpool - DEBUG - https://translate.google.com:443 "GET /m?tl=en&sl=fr&q=Apache+Tomcat+x+%2B%0A%0AGC+%40+2+zk1.brg-lab.com%0A%0A%40+Andre+Demo+Devmat+%40+Base+mod%C3%A9le%0A%0AIt+works+%21%0A%0AIf+you%27re+seeing+this+page+via+a+web+browser%2C+it+means+you%27ve+setup+Tomcat+successfully.+Congratulations%21%0A%0AThis+is+the+default+Tomcat+home+page.+It+can+be+found+on+the+local+filesystem+at%3A+%2Fvar%2Flib%2Ftomcat7%2Fwebapps%2FROOT%2Findex.html%0A%0ATomcat%3F+veterans+might+be+pleased+to+learn+that+this+system+instance+of+Tomcat+is+installed+with+CATALINA_HOME+in+%2Fusr%2Fshare%2Ftomcat7+and+CATALINA_BASE+in+%2Fvar%2F1ib%2Ftomcat7%2C+following+the+rules+from+%2Fusr%2Fshare%2Fdoc%2Ftomcat7-common%2FRUNNING.+txt.+gz.%0AYou+might+consider+installing+the+following+packages%2C+if+you+haven%27t+already+done+so%3A%0A%0Atomcat7-docs%3A+This+package+installs+a+web+application+that+allows+to+browse+the+Tomcat+7+documentation+locally.+Once+installed%2C+you+can+access+it+by+clicking%0A%0Atomcat7-examples%3A+This+package+installs+a+web+application+that+allows+to+access+the+Tomcat+7+Servlet+and+JSP+examples.+Once+installed%2C+you+can+access+it+by+clicking%0A%0Atomcat7-admin%3A+This+package+installs+two+web+applications+that+can+help+managing+this+Tomcat+instance.+Once+installed%2C+you+can+access+the+and+the%0A%0ANOTE%3A+For+security+reasons%2C+using+the+manager+webapp+is+restricted+to+users+with+role+%22manager-gui%22.+The+host-manager+webapp+is+restricted+to+users+with+role+%22admin-gui%22.+Users+are+defined+in+%2Fetc%2Ftomcat7%2Ftomcat-users.xml. HTTP/1.1" 200 None +2025-04-24 15:31:19,348 - DebugImageAnalyser - INFO - OCR texte: 1328 caractères en en +2025-04-24 15:31:19,348 - DebugImageAnalyser - INFO - Appel à l'agent d'analyse d'images +2025-04-24 15:31:19,348 - DebugImageAnalyser - ERROR - Exception lors de l'appel à peut_analyser_images: 'NoneType' object has no attribute 'peut_analyser_images' +Traceback (most recent call last): + File "/home/fgras-ca/llm-ticket3/debug_image_analyser.py", line 102, in main + can_analyze = agent_analyser.llm.peut_analyser_images() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +AttributeError: 'NoneType' object has no attribute 'peut_analyser_images' +2025-04-24 15:31:19,349 - AgentImageAnalyser - INFO - Début d'analyse de l'image: image.png +2025-04-24 15:31:19,349 - PIL.PngImagePlugin - DEBUG - STREAM b'IHDR' 16 13 +2025-04-24 15:31:19,349 - PIL.PngImagePlugin - DEBUG - STREAM b'IDAT' 41 8192 +2025-04-24 15:31:19,349 - AgentImageAnalyser - INFO - Vérification du support d'analyse d'images pour image.png +2025-04-24 15:31:19,349 - AgentImageAnalyser - ERROR - Exception lors de la vérification du support d'images: 'NoneType' object has no attribute 'peut_analyser_images' +2025-04-24 15:31:19,349 - AgentImageAnalyser - ERROR - Erreur: Erreur lors de la vérification du support d'images: 'NoneType' object has no attribute 'peut_analyser_images' pour output/ticket_T11143/T11143_20250422_084617/attachments/image.png +2025-04-24 15:31:19,350 - DebugImageAnalyser - INFO - Analyse réussie: 0 caractères +2025-04-24 15:31:19,350 - DebugImageAnalyser - ERROR - Exception lors de l'analyse: Object of type LlamaVision is not JSON serializable +Traceback (most recent call last): + File "/home/fgras-ca/llm-ticket3/debug_image_analyser.py", line 118, in main + json.dump(resultat, f, ensure_ascii=False, indent=2) + File "/usr/lib/python3.12/json/__init__.py", line 179, in dump + for chunk in iterable: + File "/usr/lib/python3.12/json/encoder.py", line 432, in _iterencode + yield from _iterencode_dict(o, _current_indent_level) + File "/usr/lib/python3.12/json/encoder.py", line 406, in _iterencode_dict + yield from chunks + File "/usr/lib/python3.12/json/encoder.py", line 406, in _iterencode_dict + yield from chunks + File "/usr/lib/python3.12/json/encoder.py", line 439, in _iterencode + o = _default(o) + ^^^^^^^^^^^ + File "/usr/lib/python3.12/json/encoder.py", line 180, in default + raise TypeError(f'Object of type {o.__class__.__name__} ' +TypeError: Object of type LlamaVision is not JSON serializable diff --git a/execution.log b/execution.log new file mode 100644 index 0000000..0c5c0fe --- /dev/null +++ b/execution.log @@ -0,0 +1,93 @@ + AgentTicketAnalyser: analyse du ticket T11143 +Fichier similaire trouvé: analyse_ticket_llama3-2-vision-90b-instruct-q8-0_results.json (modèle normalisé: llama3-2-vision-90b-instruct-q8-0) +Utilisation du fichier existant: analyse_ticket_llama3-2-vision-90b-instruct-q8-0_results.json +Le fichier output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_ticket_llama3-2-vision-90b-instruct-q8-0_results.json existe déjà, mise à jour des données +Données sauvegardées dans output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_ticket_llama3-2-vision-90b-instruct-q8-0_results.json (1 entrées) +Version texte générée dans output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_ticket_llama3-2-vision-90b-instruct-q8-0_results.txt + Analyse terminée: 1258 caractères +Rapport de déduplication sauvegardé dans output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/rapport_de_deduplication.json (6 entrées) + AgentImageSorter: Évaluation de image.png + Décision: Image image.png pertinente + AgentImageSorter: Évaluation de image_145435.png + Décision: Image image_145435.png pertinente + AgentImageSorter: Évaluation de 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg + Décision: Image 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg non pertinente + AgentImageSorter: Évaluation de a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif + Décision: Image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif non pertinente (erreur de vérification) +Fichier similaire trouvé: tri_image_llama3-vision-90b-instruct_results.json (modèle normalisé: llama3-vision-90b-instruct) +Utilisation du fichier existant: tri_image_llama3-vision-90b-instruct_results.json +Le fichier output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/tri_image_llama3-vision-90b-instruct_results.json existe déjà, mise à jour des données +Mise à jour de l'élément existant pour l'image image.png +Mise à jour de l'élément existant pour l'image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif +Données sauvegardées dans output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/tri_image_llama3-vision-90b-instruct_results.json (4 entrées) +Version texte générée dans output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/tri_image_llama3-vision-90b-instruct_results.txt +Sauvegarde groupée de 4 résultats de tri d'images + AgentImageAnalyser: Analyse de image.png + Analyse terminée pour image.png: 1948 caractères + AgentImageAnalyser: Analyse de image_145435.png + Analyse terminée pour image_145435.png: 2190 caractères +Utilisation du nom de modèle existant: image_pixtral-large-latest +Fichier similaire trouvé: analyse_image_pixtral-large-latest_results.json (modèle normalisé: pixtral-large-latest) +Utilisation du fichier existant: analyse_image_pixtral-large-latest_results.json +Le fichier output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_image_pixtral-large-latest_results.json existe déjà, mise à jour des données +Ajout d'un nouvel élément aux données combinées +Ajout d'un nouvel élément aux données combinées +Données sauvegardées dans output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_image_pixtral-large-latest_results.json (4 entrées) +Version texte générée dans output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_image_pixtral-large-latest_results.txt +Sauvegarde groupée de 2 résultats d'analyse d'images +AgentReportGenerator: generating report for ticket T11143 +Preparing prompt for ticket T11143... +Analysis in progress for ticket T11143... +Traceback (most recent call last): + File "/home/fgras-ca/llm-ticket3/main_llama.py", line 159, in + sys.exit(main()) + ^^^^^^ + File "/home/fgras-ca/llm-ticket3/main_llama.py", line 138, in main + orchestrator.executer(ticket_id) + File "/home/fgras-ca/llm-ticket3/orchestrator_llama.py", line 66, in executer + self.traiter_ticket(ticket_path) + File "/home/fgras-ca/llm-ticket3/orchestrator_llama.py", line 320, in traiter_ticket + rapport_final = self.report_generator.executer(rapport_data) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/agents/llama_vision/agent_report_generator.py", line 180, in executer + response = self.llm.interroger(prompt_en) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/llm_classes/base_llm.py", line 76, in interroger + response = requests.post(url=url, headers=headers, json=contenu, timeout=120) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/venv/lib/python3.12/site-packages/requests/api.py", line 115, in post + return request("post", url, data=data, json=json, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/venv/lib/python3.12/site-packages/requests/api.py", line 59, in request + return session.request(method=method, url=url, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request + resp = self.send(prep, **send_kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send + r = adapter.send(request, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/venv/lib/python3.12/site-packages/requests/adapters.py", line 667, in send + resp = conn.urlopen( + ^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen + response = self._make_request( + ^^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 534, in _make_request + response = conn.getresponse() + ^^^^^^^^^^^^^^^^^^ + File "/home/fgras-ca/llm-ticket3/venv/lib/python3.12/site-packages/urllib3/connection.py", line 516, in getresponse + httplib_response = super().getresponse() + ^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse + response.begin() + File "/usr/lib/python3.12/http/client.py", line 331, in begin + version, status, reason = self._read_status() + ^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3.12/http/client.py", line 292, in _read_status + line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3.12/socket.py", line 707, in readinto + return self._sock.recv_into(b) + ^^^^^^^^^^^^^^^^^^^^^^^ +KeyboardInterrupt diff --git a/main.log b/main.log new file mode 100644 index 0000000..e69de29 diff --git a/main_llama.log b/main_llama.log new file mode 100644 index 0000000..e69de29 diff --git a/orchestrator.log b/orchestrator.log new file mode 100644 index 0000000..a242163 --- /dev/null +++ b/orchestrator.log @@ -0,0 +1,101 @@ +2025-04-24 16:55:48,040 - INFO - Configuration: { + "dedup_enabled": true, + "dedup_threshold": 5, + "save_results": false, + "debug_mode": false, + "reports_dir": "reports" +} +2025-04-24 16:55:48,040 - INFO - Initialisation des agents... +2025-04-24 16:55:48,040 - INFO - Initialisation du modèle mistral_large +2025-04-24 16:55:48,040 - INFO - Modèle mistral_large initialisé en 0.00 secondes +2025-04-24 16:55:48,040 - INFO - Création de l'agent d'analyse de tickets +2025-04-24 16:55:48,040 - INFO - AgentTicketAnalyser initialisé +2025-04-24 16:55:48,040 - INFO - Agent d'analyse de tickets créé en 0.00 secondes +2025-04-24 16:55:48,040 - INFO - Initialisation du modèle pixtral_large +2025-04-24 16:55:48,040 - INFO - Modèle pixtral_large initialisé en 0.00 secondes +2025-04-24 16:55:48,040 - INFO - Création de l'agent de tri d'images +2025-04-24 16:55:48,040 - INFO - AgentImageSorter initialisé +2025-04-24 16:55:48,040 - INFO - Agent de tri d'images créé en 0.00 secondes +2025-04-24 16:55:48,040 - INFO - Initialisation du modèle pixtral_large +2025-04-24 16:55:48,040 - INFO - Modèle pixtral_large initialisé en 0.00 secondes +2025-04-24 16:55:48,040 - INFO - Création de l'agent d'analyse d'images +2025-04-24 16:55:48,040 - INFO - AgentImageAnalyser initialisé +2025-04-24 16:55:48,040 - INFO - Agent d'analyse d'images créé en 0.00 secondes +2025-04-24 16:55:48,040 - INFO - Initialisation du modèle mistral_large +2025-04-24 16:55:48,040 - INFO - Modèle mistral_large initialisé en 0.00 secondes +2025-04-24 16:55:48,040 - INFO - Création de l'agent de génération de rapport +2025-04-24 16:55:48,041 - INFO - AgentReportGenerator initialisé +2025-04-24 16:55:48,041 - INFO - Agent de génération de rapport créé en 0.00 secondes +2025-04-24 16:55:48,041 - INFO - Orchestrator initialisé avec la configuration: {'dedup_enabled': True, 'dedup_threshold': 5, 'save_results': False, 'debug_mode': False, 'reports_dir': 'reports'} +2025-04-24 16:55:48,041 - INFO - Début de l'analyse du ticket T11143 +2025-04-24 16:55:48,041 - INFO - Tickets à traiter: ['ticket_T11143'] +2025-04-24 16:55:48,041 - INFO - Traitement du ticket T11143 +2025-04-24 16:55:48,041 - INFO - Utilisation de l'extraction: T11143_20250422_084617 +2025-04-24 16:55:48,041 - INFO - Données du ticket chargées depuis output/ticket_T11143/T11143_20250422_084617/T11143_rapports/T11143_rapport.json +2025-04-24 16:55:48,041 - INFO - Exécution de l'agent d'analyse de ticket pour T11143 +2025-04-24 16:55:48,041 - INFO - Analyse du ticket T11143 +2025-04-24 16:56:00,511 - INFO - Analyse du ticket terminée avec succès +2025-04-24 16:56:00,512 - INFO - Analyse du ticket terminée: 2149 caractères +2025-04-24 16:56:00,512 - INFO - Traitement des images pour le ticket T11143 +2025-04-24 16:56:00,512 - INFO - Images trouvées: 6 +2025-04-24 16:56:00,957 - INFO - Dédoublonnage: 6 → 4 images +2025-04-24 16:56:21,654 - INFO - Image pertinente: image.png +2025-04-24 16:56:23,798 - INFO - Image pertinente: image_145435.png +2025-04-24 16:56:35,710 - INFO - Sauvegarde de 4 résultats de tri d'images +2025-04-24 16:56:35,710 - INFO - Résultats de tri d'images sauvegardés pour le ticket T11143 +2025-04-24 16:56:35,711 - INFO - Images pertinentes: 2/4 +2025-04-24 16:56:35,711 - INFO - Analyse de l'image: image.png +2025-04-24 16:58:00,989 - INFO - Analyse terminée pour image.png +2025-04-24 16:58:00,989 - INFO - Analyse de l'image: image_145435.png +2025-04-24 16:59:58,774 - INFO - Analyse terminée pour image_145435.png +2025-04-24 16:59:58,774 - INFO - Génération du rapport final pour le ticket T11143 +2025-04-24 16:59:58,774 - DEBUG - Données reçues pour 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-24 16:59:58,774 - INFO - Validation pour T11143: OK, 2 images analysées sur 4 images +2025-04-24 16:59:58,774 - INFO - Nombre d'images à analyser: 4 +2025-04-24 16:59:58,774 - INFO - Ajout de l'analyse de l'image image.png (4989 caractères) +2025-04-24 16:59:58,774 - INFO - Ajout de l'analyse de l'image image_145435.png (5078 caractères) +2025-04-24 16:59:58,774 - WARNING - Image 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg sans analyse +2025-04-24 16:59:58,774 - WARNING - Image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif sans analyse +2025-04-24 16:59:58,774 - INFO - Taille de l'analyse ticket: 2149 caractères +2025-04-24 16:59:58,775 - INFO - Taille du bloc images: 10129 caractères +2025-04-24 16:59:58,775 - DEBUG - Prompt généré (12963 caractères): Voici les données d'analyse pour un ticket de support : + +=== ANALYSE DU TICKET === +### Résumé du contexte + +**Client :** +- Nom : Victor BOLLÉE +- Email : v.bollee@labojcg.fr +- Société : GIRAUD TP (JCG) +- `user_id` : Non disponible + +**Sujet du ticket reformulé en une ou plusieurs questions :** +- Pourquoi l'essai au bleu est-il inaccessible ? +- Comment résoudre le problème d'accès à l'essai au bleu ? + +**Description technique synthétique :** +- Le client ne parvient pas à accéder à l'essai au bleu. +- ... +2025-04-24 17:00:08,923 - DEBUG - Réponse reçue (2418 caractères): ### Rapport Final + +#### 1. Contexte général +Le client ne parvient pas à accéder à l'essai au bleu, mais le problème s'est résolu de lui-même par la suite. + +#### 2. Problèmes ou questions identifiés +- Pourquoi l'essai au bleu est-il inaccessible ? +- Comment résoudre le problème d'accès à l'essai au bleu ? + +#### 3. Résumé croisé image/texte pour chaque question + +**Pourquoi l'essai au bleu est-il inaccessible ?** +- **Texte du ticket :** Le client mentionne qu'il ne parvient pas à accéder à l'essai ... +2025-04-24 17:00:08,923 - INFO - Sauvegarde du rapport final pour le ticket T11143 +2025-04-24 17:00:08,924 - INFO - Rapport texte sauvegardé dans /home/fgras-ca/llm-ticket3/reports/T11143/rapport_final_T11143_mistral-large-latest.txt +2025-04-24 17:00:08,925 - INFO - Version texte du rapport sauvegardée dans /home/fgras-ca/reports/T11143/rapport_final_T11143.txt +2025-04-24 17:00:08,925 - INFO - Traitement du ticket T11143 terminé +2025-04-24 17:00:08,925 - INFO - Analyse du ticket T11143 terminée +2025-04-24 17:00:08,925 - INFO - Génération des fichiers CSV pour le ticket T11143 +2025-04-24 17:00:08,925 - INFO - Traitement du rapport: rapport_final_mistral-large-latest_results.json +2025-04-24 17:00:08,925 - INFO - CSV échanges généré: /home/fgras-ca/llm-ticket3/CSV/T11143/T11143_mistral-large-latest_exchanges.csv +2025-04-24 17:00:08,925 - INFO - Traitement terminé. 1 modèles traités: mistral-large-latest +2025-04-24 17:00:08,925 - INFO - Fichiers CSV générés avec succès diff --git a/orchestrator_llama.log b/orchestrator_llama.log new file mode 100644 index 0000000..27eada2 --- /dev/null +++ b/orchestrator_llama.log @@ -0,0 +1,101 @@ +2025-04-25 09:49:53,231 - MainLlamaVision - INFO - Initialisation du modèle LlamaVision: llama3.2-vision:90b-instruct-q8_0 +2025-04-25 09:49:53,231 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode) +2025-04-25 09:49:53,231 - MainLlamaVision - INFO - Nom normalisé du modèle: llama3-2-vision-90b-instruct-q8-0 +2025-04-25 09:49:53,231 - MainLlamaVision - INFO - Création des agents avec LlamaVision +2025-04-25 09:49:53,231 - AgentFactoryLlamaVision - INFO - Création de tous les agents avec instances LLM indépendantes (modèle: llama3.2-vision:90b-instruct-q8_0) +2025-04-25 09:49:53,231 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0) +2025-04-25 09:49:53,231 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode) +2025-04-25 09:49:53,231 - AgentFactoryLlamaVision - INFO - Création de l'agent de tickets (llama_vision) +2025-04-25 09:49:53,231 - AgentTicketAnalyser - INFO - AgentTicketAnalyser initialisé +2025-04-25 09:49:53,231 - AgentFactoryLlamaVision - INFO - Création de l'agent de tri des images (llama_vision) +2025-04-25 09:49:53,231 - AgentImageSorter - INFO - AgentImageSorter (llama_vision) initialisé +2025-04-25 09:49:53,231 - AgentFactoryLlamaVision - INFO - Création de l'agent d'analyse des images (llama_vision) +2025-04-25 09:49:53,231 - AgentImageAnalyser - INFO - AgentImageAnalyser initialized +2025-04-25 09:49:53,231 - AgentFactoryLlamaVision - INFO - Création de l'agent de génération de rapports (llama_vision) +2025-04-25 09:49:53,231 - AgentReportGenerator - INFO - LlamaVision mode detected: using English system prompt +2025-04-25 09:49:53,231 - AgentReportGenerator - INFO - AgentReportGenerator initialized +2025-04-25 09:49:53,231 - MainLlamaVision - INFO - Configuration: { + "dedup_enabled": true, + "dedup_threshold": 5, + "save_results": false, + "debug_mode": false, + "reports_dir": "reports", + "ocr_enabled": true, + "english_only": true, + "model_name": "llama3-2-vision-90b-instruct-q8-0" +} +2025-04-25 09:49:53,231 - MainLlamaVision - INFO - Création de l'orchestrateur pour le ticket T11143 +2025-04-25 09:49:53,232 - 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, 'english_only': True, 'model_name': 'llama3-2-vision-90b-instruct-q8-0'} +2025-04-25 09:49:53,232 - MainLlamaVision - INFO - Démarrage de l'analyse du ticket T11143 +2025-04-25 09:49:53,232 - OrchestratorLlamaVision - INFO - Traitement du ticket T11143 +2025-04-25 09:49:53,232 - OrchestratorLlamaVision - INFO - Utilisation du modèle: llama3-2-vision-90b-instruct-q8-0 +2025-04-25 09:49:53,232 - OrchestratorLlamaVision - INFO - Données du ticket chargées depuis output/ticket_T11143/T11143_20250422_084617/T11143_rapports/T11143_rapport.json avec 3 messages +2025-04-25 09:49:53,232 - OrchestratorLlamaVision - INFO - Traduction du contenu du ticket T11143 en anglais +2025-04-25 09:49:53,450 - OrchestratorLlamaVision - INFO - Traduction terminée: 984 caractères +2025-04-25 09:49:53,451 - OrchestratorLlamaVision - INFO - Exécution de l'agent d'analyse de ticket pour T11143 +2025-04-25 09:49:53,451 - AgentTicketAnalyser - INFO - Utilisation du contenu déjà traduit pour le ticket T11143 +2025-04-25 09:51:19,575 - OrchestratorLlamaVision - INFO - Analyse du ticket terminée: 1395 caractères +2025-04-25 09:51:19,588 - OrchestratorLlamaVision - INFO - 6 images trouvées dans output/ticket_T11143/T11143_20250422_084617/attachments +2025-04-25 09:51:19,848 - OrchestratorLlamaVision - INFO - Traitement OCR de 4 images +2025-04-25 09:51:19,848 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image.png (langue: auto) +2025-04-25 09:51:22,557 - OCR - INFO - Langue détectée: eng +2025-04-25 09:51:23,197 - OCR - WARNING - Impossible de sauvegarder les fichiers de débogage: cannot write mode RGBA as JPEG +2025-04-25 09:51:23,197 - OCR - INFO - OCR réussi [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-25 09:51:23,521 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image.png +2025-04-25 09:51:23,522 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image.png +2025-04-25 09:51:23,522 - OrchestratorLlamaVision - INFO - OCR terminé pour image.png: 1347 caractères (en) +2025-04-25 09:51:23,522 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png (langue: auto) +2025-04-25 09:51:24,600 - OCR - INFO - Langue détectée: fra +2025-04-25 09:51:24,885 - OCR - INFO - Images prétraitées et résultat OCR sauvegardés dans debug_ocr +2025-04-25 09:51:24,885 - OCR - INFO - OCR réussi [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-25 09:51:25,226 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image_145435.png +2025-04-25 09:51:25,226 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image_145435.png +2025-04-25 09:51:25,226 - OrchestratorLlamaVision - INFO - OCR terminé pour image_145435.png: 373 caractères (fr) +2025-04-25 09:51:25,226 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg (langue: auto) +2025-04-25 09:51:27,097 - OCR - INFO - Langue détectée: fra +2025-04-25 09:51:28,242 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg +2025-04-25 09:51:28,243 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg +2025-04-25 09:51:28,243 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg +2025-04-25 09:51:28,243 - OrchestratorLlamaVision - INFO - OCR terminé pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg: 0 caractères (unknown) +2025-04-25 09:51:28,243 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (langue: auto) +2025-04-25 09:51:28,243 - OCR - ERROR - Erreur lors du prétraitement de l'image output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif: image has wrong mode +2025-04-25 09:51:28,475 - OCR - INFO - Langue détectée: fra +2025-04-25 09:51:28,580 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif +2025-04-25 09:51:28,580 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif +2025-04-25 09:51:28,581 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif +2025-04-25 09:51:28,581 - OrchestratorLlamaVision - INFO - OCR terminé pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif: 0 caractères (unknown) +2025-04-25 09:51:28,581 - OrchestratorLlamaVision - INFO - Traitement de 4 images uniques avec l'agent de tri +2025-04-25 09:52:18,867 - AgentImageSorter - WARNING - Image trop petite: output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (1x1) +2025-04-25 09:52:18,868 - AgentImageSorter - INFO - Sauvegarde de 4 résultats de tri d'images +2025-04-25 09:52:18,871 - OrchestratorLlamaVision - INFO - Sauvegarde groupée de 4 résultats de tri d'images effectuée +2025-04-25 09:52:18,871 - OrchestratorLlamaVision - INFO - Début de l'analyse des images avec 2 images pertinentes +2025-04-25 09:52:18,871 - OrchestratorLlamaVision - INFO - Analyse de l'image: image.png +2025-04-25 09:54:07,055 - OrchestratorLlamaVision - INFO - Analyse terminée pour image.png +2025-04-25 09:54:07,056 - OrchestratorLlamaVision - INFO - Analyse de l'image: image_145435.png +2025-04-25 09:56:18,840 - OrchestratorLlamaVision - INFO - Analyse terminée pour image_145435.png +2025-04-25 09:56:18,840 - AgentImageAnalyser - INFO - Sauvegarde de 2 résultats d'analyse d'images +2025-04-25 09:56:18,842 - OrchestratorLlamaVision - INFO - Sauvegarde des résultats d'analyse d'images via sauvegarder_resultats +2025-04-25 09:56:18,843 - 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-25 09:56:18,843 - AgentReportGenerator - INFO - Validation for T11143: OK, 2 images analyzed out of 4 images +2025-04-25 09:56:18,843 - AgentReportGenerator - INFO - Number of images to analyze: 4 +2025-04-25 09:56:18,843 - AgentReportGenerator - INFO - Adding analysis of image image.png (2 characters) +2025-04-25 09:56:18,843 - AgentReportGenerator - INFO - Adding analysis of image image_145435.png (2 characters) +2025-04-25 09:56:18,843 - AgentReportGenerator - WARNING - Image 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg without analysis +2025-04-25 09:56:18,843 - AgentReportGenerator - WARNING - Image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif without analysis +2025-04-25 09:56:18,843 - AgentReportGenerator - INFO - Size of ticket analysis: 6 characters +2025-04-25 09:56:18,843 - AgentReportGenerator - INFO - Size of image block: 10442 characters +2025-04-25 09:56:18,843 - AgentReportGenerator - DEBUG - Generated prompt (16633 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-25 09:56:20,646 - AgentReportGenerator - INFO - Translating prompt to English for LlamaVision (15932 characters) diff --git a/output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_image_unknown_model_results.json b/output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_image_unknown_model_results.json deleted file mode 100644 index a13d0c6..0000000 --- a/output/ticket_T11143/T11143_20250422_084617/T11143_rapports/pipeline/analyse_image_unknown_model_results.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "timestamp": "2025-04-25T09:10:54.306363", - "image": "image.png", - "ticket_id": "T11143", - "analyse": { - "en": "**Image Analysis**\n\nThe provided image appears to be a screenshot of a web page displaying a successful Apache Tomcat server startup. The page shows the default Tomcat welcome screen.\n\n**Detailed Description of Image Content**\n\n* The top of the page displays the title \"Apache Tomcat\" and a version number: \"8.5.57\".\n* Below the title, there is a brief introduction to Tomcat and its features.\n* A section titled \"Manager App\" provides information about the Tomcat manager application, including a link to access it.\n* Another section titled \"Host Manager App\" offers details about the host manager application, along with a link to access it.\n* The page also includes a note about security restrictions for accessing the manager and host-manager web applications.\n\n**Error Messages, Technical Information, or Interface Elements**\n\n* No error messages are visible on this page.\n* Technical information:\n\t+ Apache Tomcat version: 8.5.57\n\t+ Manager App URL: /manager/html (restricted to users with role \"manager-gui\")\n\t+ Host Manager App URL: /host-manager/html (restricted to users with role \"admin-gui\")\n* Interface elements:\n\t+ Links to access the manager and host-manager web applications\n\n**Relation to Support Ticket Context**\n\nThe image appears to be related to the support ticket context, as it shows a successful Tomcat server startup. However, there is no clear indication of how this relates to the initial issue reported by Fabien Lafay (inaccessibility of the blue test). The URL provided in the troubleshooting step ([https://zk1.brg-lab.com/](https://zk1.brg-lab.com/)) might be connected to this Tomcat server, but without further information, it's unclear how they are related.\n\n**Version Numbers, Status Indicators, or Dates**\n\n* Apache Tomcat version: 8.5.57\n* No status indicators (e.g., error messages, warnings) are visible on the page.\n* No dates are displayed on the page.\n\n**Extracted Technical Details for Diagnostics**\n\n* Apache Tomcat version: 8.5.57\n* Manager App URL and access restrictions\n* Host Manager App URL and access restrictions\n\nThese technical details might be useful in diagnosing issues related to Tomcat server configuration or access control, but without more context, it's unclear how they relate to the initial issue reported by Fabien Lafay.", - "fr": "** Analyse d'image **\n\nL'image fournie semble être une capture d'écran d'une page Web affichant un démarrage réussi du serveur Tomcat Apache. La page affiche l'écran de bienvenue Tomcat par défaut.\n\n** Description détaillée du contenu de l'image **\n\n* Le haut de la page affiche le titre \"Apache Tomcat\" et un numéro de version: \"8.5.57\".\n* En dessous du titre, il y a une brève introduction à Tomcat et à ses fonctionnalités.\n* Une section intitulée \"Manager App\" fournit des informations sur l'application Tomcat Manager, y compris un lien pour y accéder.\n* Une autre section intitulée \"Application Host Manager\" propose des détails sur l'application Host Manager, ainsi qu'un lien pour y accéder.\n* La page comprend également une note sur les restrictions de sécurité pour accéder aux applications Web Manager et Host-Manager.\n\n** Messages d'erreur, informations techniques ou éléments d'interface **\n\n* Aucun message d'erreur n'est visible sur cette page.\n* Informations techniques:\n\t+ Version Tomcat Apache: 8.5.57\n\t+ Manager App URL: / manager / html (limité aux utilisateurs avec le rôle \"Manager-Gui\")\n\t+ Host Manager App URL: / host-manager / html (limité aux utilisateurs avec un rôle \"Admin-Gui\")\n* Éléments d'interface:\n\t+ Liens pour accéder aux applications Web du gestionnaire et du manager hôte\n\n** Relation avec le contexte du ticket de support **\n\nL'image semble être liée au contexte du ticket de support, car il montre une start-up de serveur TomCat réussi. Cependant, il n'y a aucune indication claire de la façon dont cela se rapporte au problème initial rapporté par Fabien Lafay (inaccessibilité du test bleu). L'URL fournie dans l'étape de dépannage ([https://zk1.brg-lab.com/\n\n** Numéros de version, indicateurs d'état ou dates **\n\n* Version Apache Tomcat: 8.5.57\n* Aucun indicateur d'état (par exemple, les messages d'erreur, les avertissements) n'est visible sur la page.\n* Aucune date n'est affichée sur la page.\n\n** Détails techniques extraits pour les diagnostics **\n\n* Version Apache Tomcat: 8.5.57\n* URL de l'application Manager et restrictions d'accès\n* URL de l'application Host Manager et Restrictions d'accès\n\nCes détails techniques peuvent être utiles pour diagnostiquer les problèmes liés à la configuration du serveur Tomcat ou au contrôle d'accès, mais sans plus de contexte, il n'est pas clair comment ils se rapportent au problème initial rapporté par Fabien Lafay." - }, - "model_info": { - "name": "llama3-2-vision-90b-instruct-q8-0", - "type": "vision", - "params": { - "temperature": 0.2, - "top_p": 0.8, - "max_tokens": 3000 - } - }, - "urls": [ - "https://zk1.brg-lab.com", - "https://zk1.brg-lab.com/" - ] - }, - { - "timestamp": "2025-04-25T09:13:05.506644", - "image": "image_145435.png", - "ticket_id": "T11143", - "analyse": { - "en": "**Image Description**\n\nThe image appears to be a screenshot of a web page or application interface. The content is primarily in French, suggesting that the system or application is designed for a French-speaking audience.\n\n* The top portion of the screen shows a header with a logo and navigation menu items, including \"Accueil\" (Home), \"Tests\", and \"Rapports\".\n* Below the header, there is a table or grid displaying data. The columns include \"ID\", \"Nom du test\", \"Type de test\", \"Date de début\", and \"Statut\".\n* One row in the table is highlighted, with an ID of \"145435\". This corresponds to the image ID mentioned in the support ticket context.\n* In the bottom portion of the screen, there are several buttons or links, including \"Exporter\" (Export), \"Actualiser\" (Refresh), and \"Supprimer\" (Delete).\n\n**Error Messages, Technical Information, and Interface Elements**\n\nThere are no visible error messages in the image. However, some technical information can be extracted:\n\n* The URL bar at the top of the screen shows a partial address: \".../web/image/145435?access_token=...\"\n* A timestamp or date is visible in the table data: \"11 e ‘z2k1.brg-lab.com\". This may indicate that the system uses a custom date format.\n* The highlighted row in the table has a status indicator (\"Statut\") with a value of \"[FAI JEMMARME | [M porrouo || onservanons] [