mirror of
https://github.com/Ladebeze66/llm_ticket3.git
synced 2025-12-15 19:56:51 +01:00
127 lines
13 KiB
Plaintext
127 lines
13 KiB
Plaintext
2025-04-25 15:07:51,739 - MainLlamaVision - INFO - Initialisation du modèle LlamaVision: llama3.2-vision:90b-instruct-q8_0
|
||
2025-04-25 15:07:51,739 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode)
|
||
2025-04-25 15:07:51,739 - MainLlamaVision - INFO - Nom normalisé du modèle: llama3-2-vision-90b-instruct-q8-0
|
||
2025-04-25 15:07:51,739 - MainLlamaVision - INFO - Création des agents avec LlamaVision
|
||
2025-04-25 15:07:51,739 - 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 15:07:51,739 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0)
|
||
2025-04-25 15:07:51,739 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode)
|
||
2025-04-25 15:07:51,739 - AgentFactoryLlamaVision - INFO - Création de l'agent de tickets (llama_vision)
|
||
2025-04-25 15:07:51,739 - AgentTicketAnalyser - INFO - AgentTicketAnalyser initialisé
|
||
2025-04-25 15:07:51,739 - AgentFactoryLlamaVision - INFO - Création de l'agent de tri des images (llama_vision)
|
||
2025-04-25 15:07:51,739 - AgentImageSorter - INFO - AgentImageSorter (llama_vision) initialisé
|
||
2025-04-25 15:07:51,739 - AgentFactoryLlamaVision - INFO - Création de l'agent d'analyse des images (llama_vision)
|
||
2025-04-25 15:07:51,739 - AgentImageAnalyser - INFO - AgentImageAnalyser initialized
|
||
2025-04-25 15:07:51,739 - AgentFactoryLlamaVision - INFO - Création de l'agent de génération de rapports (llama_vision)
|
||
2025-04-25 15:07:51,739 - AgentReportGenerator - INFO - LlamaVision mode detected: using English system prompt
|
||
2025-04-25 15:07:51,739 - AgentReportGenerator - INFO - AgentReportGenerator initialized
|
||
2025-04-25 15:07:51,739 - AgentFactoryLlamaVision - INFO - Création de l'agent d'OCR visuel (llama_vision)
|
||
2025-04-25 15:07:51,739 - AgentVisionOCR - INFO - AgentVisionOCR initialisé
|
||
2025-04-25 15:07:51,740 - 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 15:07:51,740 - MainLlamaVision - INFO - Création de l'orchestrateur pour le ticket T11143
|
||
2025-04-25 15:07:51,740 - 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 15:07:51,740 - MainLlamaVision - INFO - Démarrage de l'analyse du ticket T11143
|
||
2025-04-25 15:07:51,740 - OrchestratorLlamaVision - INFO - Traitement du ticket T11143
|
||
2025-04-25 15:07:51,740 - OrchestratorLlamaVision - INFO - Utilisation du modèle: llama3-2-vision-90b-instruct-q8-0
|
||
2025-04-25 15:07:51,740 - 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 15:07:51,740 - OrchestratorLlamaVision - INFO - Traduction du contenu du ticket T11143 en anglais
|
||
2025-04-25 15:07:51,929 - OrchestratorLlamaVision - INFO - Traduction terminée: 984 caractères
|
||
2025-04-25 15:07:51,929 - OrchestratorLlamaVision - INFO - Exécution de l'agent d'analyse de ticket pour T11143
|
||
2025-04-25 15:07:51,929 - AgentTicketAnalyser - INFO - Utilisation du contenu déjà traduit pour le ticket T11143
|
||
2025-04-25 15:09:03,515 - OrchestratorLlamaVision - INFO - Analyse du ticket terminée: 1307 caractères
|
||
2025-04-25 15:09:03,527 - OrchestratorLlamaVision - INFO - 6 images trouvées dans output/ticket_T11143/T11143_20250422_084617/attachments
|
||
2025-04-25 15:09:03,738 - OrchestratorLlamaVision - INFO - Traitement OCR de 4 images
|
||
2025-04-25 15:09:03,738 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image.png (langue: auto)
|
||
2025-04-25 15:09:06,439 - OCR - INFO - Langue détectée: eng
|
||
2025-04-25 15:09:07,093 - OCR - WARNING - Impossible de sauvegarder les fichiers de débogage: cannot write mode RGBA as JPEG
|
||
2025-04-25 15:09:07,093 - 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 15:09:07,402 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image.png
|
||
2025-04-25 15:09:07,403 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image.png
|
||
2025-04-25 15:09:07,403 - OrchestratorLlamaVision - INFO - OCR terminé pour image.png: 1347 caractères (en)
|
||
2025-04-25 15:09:07,403 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png (langue: auto)
|
||
2025-04-25 15:09:08,470 - OCR - INFO - Langue détectée: fra
|
||
2025-04-25 15:09:08,747 - OCR - INFO - Images prétraitées et résultat OCR sauvegardés dans debug_ocr
|
||
2025-04-25 15:09:08,747 - 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 15:09:09,160 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image_145435.png
|
||
2025-04-25 15:09:09,160 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image_145435.png
|
||
2025-04-25 15:09:09,161 - OrchestratorLlamaVision - INFO - OCR terminé pour image_145435.png: 373 caractères (fr)
|
||
2025-04-25 15:09:09,161 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg (langue: auto)
|
||
2025-04-25 15:09:11,020 - OCR - INFO - Langue détectée: fra
|
||
2025-04-25 15:09:12,153 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
|
||
2025-04-25 15:09:12,154 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
|
||
2025-04-25 15:09:12,154 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
|
||
2025-04-25 15:09:12,154 - OrchestratorLlamaVision - INFO - OCR terminé pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg: 0 caractères (unknown)
|
||
2025-04-25 15:09:12,154 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (langue: auto)
|
||
2025-04-25 15:09:12,154 - 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 15:09:12,388 - OCR - INFO - Langue détectée: fra
|
||
2025-04-25 15:09:12,493 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
|
||
2025-04-25 15:09:12,493 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
|
||
2025-04-25 15:09:12,494 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
|
||
2025-04-25 15:09:12,494 - OrchestratorLlamaVision - INFO - OCR terminé pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif: 0 caractères (unknown)
|
||
2025-04-25 15:09:12,494 - OrchestratorLlamaVision - INFO - Traitement de 4 images uniques avec l'agent de tri
|
||
2025-04-25 15:09:59,441 - AgentImageSorter - WARNING - Image trop petite: output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (1x1)
|
||
2025-04-25 15:09:59,442 - AgentImageSorter - INFO - Sauvegarde de 4 résultats de tri d'images
|
||
2025-04-25 15:09:59,443 - OrchestratorLlamaVision - INFO - Sauvegarde groupée de 4 résultats de tri d'images effectuée
|
||
2025-04-25 15:09:59,443 - OrchestratorLlamaVision - INFO - Début de l'analyse des images avec 2 images pertinentes
|
||
2025-04-25 15:09:59,443 - OrchestratorLlamaVision - INFO - Analyse de l'image: image.png
|
||
2025-04-25 15:09:59,443 - AgentImageAnalyser - INFO - Analyzing image: output/ticket_T11143/T11143_20250422_084617/attachments/image.png
|
||
2025-04-25 15:11:34,529 - AgentImageAnalyser - INFO - Model name used for logging: llama3-2-vision-90b-instruct-q8-0
|
||
2025-04-25 15:11:34,775 - OrchestratorLlamaVision - INFO - Analyse terminée pour image.png
|
||
2025-04-25 15:11:34,776 - OrchestratorLlamaVision - INFO - Analyse de l'image: image_145435.png
|
||
2025-04-25 15:11:34,776 - AgentImageAnalyser - INFO - Analyzing image: output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png
|
||
2025-04-25 15:13:27,503 - AgentImageAnalyser - INFO - Model name used for logging: llama3-2-vision-90b-instruct-q8-0
|
||
2025-04-25 15:13:27,710 - OrchestratorLlamaVision - INFO - Analyse terminée pour image_145435.png
|
||
2025-04-25 15:13:27,710 - AgentImageAnalyser - INFO - Sauvegarde de 2 résultats d'analyse d'images
|
||
2025-04-25 15:13:27,711 - OrchestratorLlamaVision - INFO - Sauvegarde des résultats d'analyse d'images via sauvegarder_resultats
|
||
2025-04-25 15:13:27,712 - 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 15:13:27,712 - AgentReportGenerator - INFO - Validation for T11143: OK, 2 images analyzed out of 4 images
|
||
2025-04-25 15:13:27,712 - AgentReportGenerator - INFO - Number of images to analyze: 4
|
||
2025-04-25 15:13:27,712 - AgentReportGenerator - INFO - Adding analysis of image image.png (2 characters)
|
||
2025-04-25 15:13:27,712 - AgentReportGenerator - INFO - Adding analysis of image image_145435.png (2 characters)
|
||
2025-04-25 15:13:27,712 - AgentReportGenerator - WARNING - Image 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg without analysis
|
||
2025-04-25 15:13:27,712 - AgentReportGenerator - WARNING - Image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif without analysis
|
||
2025-04-25 15:13:27,712 - AgentReportGenerator - INFO - Size of ticket analysis: 6 characters
|
||
2025-04-25 15:13:27,712 - AgentReportGenerator - INFO - Size of image block: 9231 characters
|
||
2025-04-25 15:13:27,712 - AgentReportGenerator - DEBUG - Generated prompt (15233 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
|
||
2025-04-25 15:14:47,271 - AgentReportGenerator - INFO - Translating response to French (1724 characters)
|
||
2025-04-25 15:14:47,271 - AgentReportGenerator - DEBUG - Response received (1724 characters): ** Rapport croisé **
|
||
|
||
**Résumé:**
|
||
Le client, Fabien Lafay, a signalé un problème avec l'accès à un test bleu. L'équipe d'assistance a demandé des informations supplémentaires pour dépanner le problème.
|
||
|
||
** Tableau chronologique des échanges: **
|
||
|
||
| Émetteur | Type | Date | Contenu | Éléments visuels |
|
||
| --- | --- | --- | --- | --- |
|
||
| Client (Fabien Lafay) | Question | [Date initiale] | Rapport de problème Accès au test bleu | - |
|
||
| Support | Demande d'informations | [Date] | Demande de détails t...
|
||
2025-04-25 15:14:47,273 - OrchestratorLlamaVision - INFO - Traitement terminé pour le ticket T11143
|
||
2025-04-25 15:14:47,273 - MainLlamaVision - INFO - Analyse du ticket T11143 terminée
|
||
2025-04-25 15:14:47,273 - MainLlamaVision - INFO - Génération des fichiers CSV pour le ticket T11143
|
||
2025-04-25 15:14:47,273 - ReportCSVExporter - INFO - Traitement du rapport: rapport_final_llama3-2-vision-90b-instruct-q8-0_results.json
|
||
2025-04-25 15:14:47,274 - 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 15:14:47,274 - ReportCSVExporter - INFO - Traitement terminé. 1 modèles traités: llama3-2-vision-90b-instruct-q8-0
|
||
2025-04-25 15:14:47,274 - MainLlamaVision - INFO - Fichiers CSV générés avec succès
|