mirror of
https://github.com/Ladebeze66/llm_ticket3.git
synced 2025-12-15 19:06:50 +01:00
102 lines
11 KiB
Plaintext
102 lines
11 KiB
Plaintext
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
|