llm_ticket3/orchestrator_llama.log
2025-04-25 11:58:38 +02:00

122 lines
13 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2025-04-25 11:49:02,780 - MainLlamaVision - INFO - Initialisation du modèle LlamaVision: llama3.2-vision:90b-instruct-q8_0
2025-04-25 11:49:02,780 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode)
2025-04-25 11:49:02,780 - MainLlamaVision - INFO - Nom normalisé du modèle: llama3-2-vision-90b-instruct-q8-0
2025-04-25 11:49:02,780 - MainLlamaVision - INFO - Création des agents avec LlamaVision
2025-04-25 11:49:02,780 - 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 11:49:02,780 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0)
2025-04-25 11:49:02,780 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode)
2025-04-25 11:49:02,780 - AgentFactoryLlamaVision - INFO - Création de l'agent de tickets (llama_vision)
2025-04-25 11:49:02,780 - AgentTicketAnalyser - INFO - AgentTicketAnalyser initialisé
2025-04-25 11:49:02,780 - AgentFactoryLlamaVision - INFO - Création de l'agent de tri des images (llama_vision)
2025-04-25 11:49:02,780 - AgentImageSorter - INFO - AgentImageSorter (llama_vision) initialisé
2025-04-25 11:49:02,781 - AgentFactoryLlamaVision - INFO - Création de l'agent d'analyse des images (llama_vision)
2025-04-25 11:49:02,781 - AgentImageAnalyser - INFO - AgentImageAnalyser initialized
2025-04-25 11:49:02,781 - AgentFactoryLlamaVision - INFO - Création de l'agent de génération de rapports (llama_vision)
2025-04-25 11:49:02,781 - AgentReportGenerator - INFO - LlamaVision mode detected: using English system prompt
2025-04-25 11:49:02,781 - AgentReportGenerator - INFO - AgentReportGenerator initialized
2025-04-25 11:49:02,781 - AgentFactoryLlamaVision - INFO - Création de l'agent d'OCR visuel (llama_vision)
2025-04-25 11:49:02,781 - AgentVisionOCR - INFO - AgentVisionOCR initialisé
2025-04-25 11:49:02,781 - 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 11:49:02,781 - MainLlamaVision - INFO - Création de l'orchestrateur pour le ticket T11143
2025-04-25 11:49:02,781 - 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 11:49:02,781 - MainLlamaVision - INFO - Démarrage de l'analyse du ticket T11143
2025-04-25 11:49:02,781 - OrchestratorLlamaVision - INFO - Traitement du ticket T11143
2025-04-25 11:49:02,781 - OrchestratorLlamaVision - INFO - Utilisation du modèle: llama3-2-vision-90b-instruct-q8-0
2025-04-25 11:49:02,781 - 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 11:49:02,781 - OrchestratorLlamaVision - INFO - Traduction du contenu du ticket T11143 en anglais
2025-04-25 11:49:02,978 - OrchestratorLlamaVision - INFO - Traduction terminée: 984 caractères
2025-04-25 11:49:02,978 - OrchestratorLlamaVision - INFO - Exécution de l'agent d'analyse de ticket pour T11143
2025-04-25 11:49:02,978 - AgentTicketAnalyser - INFO - Utilisation du contenu déjà traduit pour le ticket T11143
2025-04-25 11:50:24,993 - OrchestratorLlamaVision - INFO - Analyse du ticket terminée: 1293 caractères
2025-04-25 11:50:25,005 - OrchestratorLlamaVision - INFO - 6 images trouvées dans output/ticket_T11143/T11143_20250422_084617/attachments
2025-04-25 11:50:25,232 - OrchestratorLlamaVision - INFO - Traitement OCR de 4 images
2025-04-25 11:50:25,232 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image.png (langue: auto)
2025-04-25 11:50:27,874 - OCR - INFO - Langue détectée: eng
2025-04-25 11:50:28,496 - OCR - WARNING - Impossible de sauvegarder les fichiers de débogage: cannot write mode RGBA as JPEG
2025-04-25 11:50:28,496 - 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 11:50:28,851 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image.png
2025-04-25 11:50:28,851 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image.png
2025-04-25 11:50:28,851 - OrchestratorLlamaVision - INFO - OCR terminé pour image.png: 1347 caractères (en)
2025-04-25 11:50:28,851 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png (langue: auto)
2025-04-25 11:50:29,909 - OCR - INFO - Langue détectée: fra
2025-04-25 11:50:30,176 - OCR - INFO - Images prétraitées et résultat OCR sauvegardés dans debug_ocr
2025-04-25 11:50:30,176 - 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 11:50:30,701 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image_145435.png
2025-04-25 11:50:30,702 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image_145435.png
2025-04-25 11:50:30,702 - OrchestratorLlamaVision - INFO - OCR terminé pour image_145435.png: 373 caractères (fr)
2025-04-25 11:50:30,702 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg (langue: auto)
2025-04-25 11:50:32,495 - OCR - INFO - Langue détectée: fra
2025-04-25 11:50:33,590 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
2025-04-25 11:50:33,591 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
2025-04-25 11:50:33,591 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
2025-04-25 11:50:33,591 - OrchestratorLlamaVision - INFO - OCR terminé pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg: 0 caractères (unknown)
2025-04-25 11:50:33,591 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (langue: auto)
2025-04-25 11:50:33,591 - 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 11:50:33,814 - OCR - INFO - Langue détectée: fra
2025-04-25 11:50:33,926 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
2025-04-25 11:50:33,926 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
2025-04-25 11:50:33,926 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
2025-04-25 11:50:33,926 - OrchestratorLlamaVision - INFO - OCR terminé pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif: 0 caractères (unknown)
2025-04-25 11:50:33,926 - OrchestratorLlamaVision - INFO - Traitement de 4 images uniques avec l'agent de tri
2025-04-25 11:51:21,441 - AgentImageSorter - WARNING - Image trop petite: output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (1x1)
2025-04-25 11:51:21,441 - AgentImageSorter - INFO - Sauvegarde de 4 résultats de tri d'images
2025-04-25 11:51:21,442 - OrchestratorLlamaVision - INFO - Sauvegarde groupée de 4 résultats de tri d'images effectuée
2025-04-25 11:51:21,442 - OrchestratorLlamaVision - INFO - Début de l'analyse des images avec 2 images pertinentes
2025-04-25 11:51:21,442 - OrchestratorLlamaVision - INFO - Analyse de l'image: image.png
2025-04-25 11:53:06,818 - OrchestratorLlamaVision - INFO - Analyse terminée pour image.png
2025-04-25 11:53:06,819 - OrchestratorLlamaVision - INFO - Analyse de l'image: image_145435.png
2025-04-25 11:55:18,578 - OrchestratorLlamaVision - INFO - Analyse terminée pour image_145435.png
2025-04-25 11:55:18,578 - AgentImageAnalyser - INFO - Sauvegarde de 2 résultats d'analyse d'images
2025-04-25 11:55:18,579 - OrchestratorLlamaVision - INFO - Sauvegarde des résultats d'analyse d'images via sauvegarder_resultats
2025-04-25 11:55:18,579 - 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 11:55:18,579 - AgentReportGenerator - INFO - Validation for T11143: OK, 2 images analyzed out of 4 images
2025-04-25 11:55:18,579 - AgentReportGenerator - INFO - Number of images to analyze: 4
2025-04-25 11:55:18,579 - AgentReportGenerator - INFO - Adding analysis of image image.png (2 characters)
2025-04-25 11:55:18,579 - AgentReportGenerator - INFO - Adding analysis of image image_145435.png (2 characters)
2025-04-25 11:55:18,579 - AgentReportGenerator - WARNING - Image 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg without analysis
2025-04-25 11:55:18,579 - AgentReportGenerator - WARNING - Image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif without analysis
2025-04-25 11:55:18,579 - AgentReportGenerator - INFO - Size of ticket analysis: 6 characters
2025-04-25 11:55:18,579 - AgentReportGenerator - INFO - Size of image block: 11239 characters
2025-04-25 11:55:18,579 - AgentReportGenerator - DEBUG - Generated prompt (17201 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 lessai au bleu\xa0:\nMerci par avance pour votre.\nCordialement\n![Image](https://odoo.cbao.fr/web/image/1454...
2025-04-25 11:55:21,435 - AgentReportGenerator - INFO - Translating prompt to English for LlamaVision (16531 characters)
2025-04-25 11:57:20,103 - AgentReportGenerator - INFO - Translating response to French (2753 characters)
2025-04-25 11:57:20,103 - AgentReportGenerator - DEBUG - Response received (2753 characters): ** Rapport croisé **
**Résumé:**
Le client, Fabien Lafay, a signalé un problème avec l'accès au "test bleu" et a fourni un contexte supplémentaire via une image. L'équipe de soutien a répondu et Victor Bollée a mentionné que le problème avait été résolu seul.
** Tableau chronologique des échanges: **
| Émetteur | Type | Date | Contenu | Éléments visuels |
| --- | --- | --- | --- | --- |
| Fabien Lafay (client) | Question | [Date non spécifiée] | Problème signalé avec l'accès au «test bleu» | ...
2025-04-25 11:57:20,105 - OrchestratorLlamaVision - INFO - Traitement terminé pour le ticket T11143
2025-04-25 11:57:20,106 - MainLlamaVision - INFO - Analyse du ticket T11143 terminée
2025-04-25 11:57:20,106 - MainLlamaVision - INFO - Génération des fichiers CSV pour le ticket T11143
2025-04-25 11:57:20,106 - ReportCSVExporter - INFO - Traitement du rapport: rapport_final_llama3-2-vision-90b-instruct-q8-0_results.json
2025-04-25 11:57:20,107 - 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-25 11:57:20,107 - ReportCSVExporter - INFO - Traitement terminé. 1 modèles traités: llama3-2-vision-90b-instruct-q8-0
2025-04-25 11:57:20,107 - MainLlamaVision - INFO - Fichiers CSV générés avec succès