mirror of
https://github.com/Ladebeze66/llm_ticket3.git
synced 2025-12-15 19:56:51 +01:00
121 lines
12 KiB
Plaintext
121 lines
12 KiB
Plaintext
2025-04-25 11:15:43,408 - MainLlamaVision - INFO - Initialisation du modèle LlamaVision: llama3.2-vision:90b-instruct-q8_0
|
||
2025-04-25 11:15:43,408 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode)
|
||
2025-04-25 11:15:43,408 - MainLlamaVision - INFO - Nom normalisé du modèle: llama3-2-vision-90b-instruct-q8-0
|
||
2025-04-25 11:15:43,408 - MainLlamaVision - INFO - Création des agents avec LlamaVision
|
||
2025-04-25 11:15:43,408 - 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:15:43,408 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0)
|
||
2025-04-25 11:15:43,408 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode)
|
||
2025-04-25 11:15:43,408 - AgentFactoryLlamaVision - INFO - Création de l'agent de tickets (llama_vision)
|
||
2025-04-25 11:15:43,408 - AgentTicketAnalyser - INFO - AgentTicketAnalyser initialisé
|
||
2025-04-25 11:15:43,408 - AgentFactoryLlamaVision - INFO - Création de l'agent de tri des images (llama_vision)
|
||
2025-04-25 11:15:43,408 - AgentImageSorter - INFO - AgentImageSorter (llama_vision) initialisé
|
||
2025-04-25 11:15:43,408 - AgentFactoryLlamaVision - INFO - Création de l'agent d'analyse des images (llama_vision)
|
||
2025-04-25 11:15:43,408 - AgentImageAnalyser - INFO - AgentImageAnalyser initialized
|
||
2025-04-25 11:15:43,408 - AgentFactoryLlamaVision - INFO - Création de l'agent de génération de rapports (llama_vision)
|
||
2025-04-25 11:15:43,408 - AgentReportGenerator - INFO - LlamaVision mode detected: using English system prompt
|
||
2025-04-25 11:15:43,408 - AgentReportGenerator - INFO - AgentReportGenerator initialized
|
||
2025-04-25 11:15:43,408 - 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:15:43,408 - MainLlamaVision - INFO - Création de l'orchestrateur pour le ticket T11143
|
||
2025-04-25 11:15:43,408 - 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:15:43,408 - MainLlamaVision - INFO - Démarrage de l'analyse du ticket T11143
|
||
2025-04-25 11:15:43,408 - OrchestratorLlamaVision - INFO - Traitement du ticket T11143
|
||
2025-04-25 11:15:43,409 - OrchestratorLlamaVision - INFO - Utilisation du modèle: llama3-2-vision-90b-instruct-q8-0
|
||
2025-04-25 11:15:43,409 - 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:15:43,409 - OrchestratorLlamaVision - INFO - Traduction du contenu du ticket T11143 en anglais
|
||
2025-04-25 11:15:43,646 - OrchestratorLlamaVision - INFO - Traduction terminée: 984 caractères
|
||
2025-04-25 11:15:43,646 - OrchestratorLlamaVision - INFO - Exécution de l'agent d'analyse de ticket pour T11143
|
||
2025-04-25 11:15:43,647 - AgentTicketAnalyser - INFO - Utilisation du contenu déjà traduit pour le ticket T11143
|
||
2025-04-25 11:17:10,701 - OrchestratorLlamaVision - INFO - Analyse du ticket terminée: 1395 caractères
|
||
2025-04-25 11:17:10,713 - OrchestratorLlamaVision - INFO - 6 images trouvées dans output/ticket_T11143/T11143_20250422_084617/attachments
|
||
2025-04-25 11:17:10,926 - OrchestratorLlamaVision - INFO - Traitement OCR de 4 images
|
||
2025-04-25 11:17:10,926 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image.png (langue: auto)
|
||
2025-04-25 11:17:13,663 - OCR - INFO - Langue détectée: eng
|
||
2025-04-25 11:17:14,315 - OCR - WARNING - Impossible de sauvegarder les fichiers de débogage: cannot write mode RGBA as JPEG
|
||
2025-04-25 11:17:14,315 - 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:17:14,626 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image.png
|
||
2025-04-25 11:17:14,627 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image.png
|
||
2025-04-25 11:17:14,627 - OrchestratorLlamaVision - INFO - OCR terminé pour image.png: 1347 caractères (en)
|
||
2025-04-25 11:17:14,627 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png (langue: auto)
|
||
2025-04-25 11:17:15,716 - OCR - INFO - Langue détectée: fra
|
||
2025-04-25 11:17:15,992 - OCR - INFO - Images prétraitées et résultat OCR sauvegardés dans debug_ocr
|
||
2025-04-25 11:17:15,993 - 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:17:16,307 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image_145435.png
|
||
2025-04-25 11:17:16,307 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image_145435.png
|
||
2025-04-25 11:17:16,307 - OrchestratorLlamaVision - INFO - OCR terminé pour image_145435.png: 373 caractères (fr)
|
||
2025-04-25 11:17:16,307 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg (langue: auto)
|
||
2025-04-25 11:17:18,195 - OCR - INFO - Langue détectée: fra
|
||
2025-04-25 11:17:19,352 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
|
||
2025-04-25 11:17:19,353 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
|
||
2025-04-25 11:17:19,353 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
|
||
2025-04-25 11:17:19,353 - OrchestratorLlamaVision - INFO - OCR terminé pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg: 0 caractères (unknown)
|
||
2025-04-25 11:17:19,353 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (langue: auto)
|
||
2025-04-25 11:17:19,353 - 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:17:19,584 - OCR - INFO - Langue détectée: fra
|
||
2025-04-25 11:17:19,698 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
|
||
2025-04-25 11:17:19,698 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
|
||
2025-04-25 11:17:19,699 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
|
||
2025-04-25 11:17:19,699 - OrchestratorLlamaVision - INFO - OCR terminé pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif: 0 caractères (unknown)
|
||
2025-04-25 11:17:19,699 - OrchestratorLlamaVision - INFO - Traitement de 4 images uniques avec l'agent de tri
|
||
2025-04-25 11:18:08,970 - AgentImageSorter - WARNING - Image trop petite: output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (1x1)
|
||
2025-04-25 11:18:08,970 - AgentImageSorter - INFO - Sauvegarde de 4 résultats de tri d'images
|
||
2025-04-25 11:18:08,971 - OrchestratorLlamaVision - INFO - Sauvegarde groupée de 4 résultats de tri d'images effectuée
|
||
2025-04-25 11:18:08,971 - OrchestratorLlamaVision - INFO - Début de l'analyse des images avec 2 images pertinentes
|
||
2025-04-25 11:18:08,971 - OrchestratorLlamaVision - INFO - Analyse de l'image: image.png
|
||
2025-04-25 11:19:56,920 - OrchestratorLlamaVision - INFO - Analyse terminée pour image.png
|
||
2025-04-25 11:19:56,921 - OrchestratorLlamaVision - INFO - Analyse de l'image: image_145435.png
|
||
2025-04-25 11:22:08,008 - OrchestratorLlamaVision - INFO - Analyse terminée pour image_145435.png
|
||
2025-04-25 11:22:08,009 - AgentImageAnalyser - INFO - Sauvegarde de 2 résultats d'analyse d'images
|
||
2025-04-25 11:22:08,010 - OrchestratorLlamaVision - INFO - Sauvegarde des résultats d'analyse d'images via sauvegarder_resultats
|
||
2025-04-25 11:22:08,010 - 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:22:08,010 - AgentReportGenerator - INFO - Validation for T11143: OK, 2 images analyzed out of 4 images
|
||
2025-04-25 11:22:08,010 - AgentReportGenerator - INFO - Number of images to analyze: 4
|
||
2025-04-25 11:22:08,010 - AgentReportGenerator - INFO - Adding analysis of image image.png (2 characters)
|
||
2025-04-25 11:22:08,010 - AgentReportGenerator - INFO - Adding analysis of image image_145435.png (2 characters)
|
||
2025-04-25 11:22:08,010 - AgentReportGenerator - WARNING - Image 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg without analysis
|
||
2025-04-25 11:22:08,010 - AgentReportGenerator - WARNING - Image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif without analysis
|
||
2025-04-25 11:22:08,010 - AgentReportGenerator - INFO - Size of ticket analysis: 6 characters
|
||
2025-04-25 11:22:08,010 - AgentReportGenerator - INFO - Size of image block: 10442 characters
|
||
2025-04-25 11:22:08,011 - 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
|
||
2025-04-25 11:23:48,505 - AgentReportGenerator - INFO - Translating response to French (1990 characters)
|
||
2025-04-25 11:23:48,506 - AgentReportGenerator - DEBUG - Response received (1990 characters): ** Rapport croisé **
|
||
|
||
** Description du problème: **
|
||
Le client, Fabien Lafay, a signalé un problème à l'accès au test bleu.
|
||
|
||
** Tableau chronologique des échanges: **
|
||
|
||
| Émetteur | Type | Date | Contenu | Éléments visuels |
|
||
| --- | --- | --- | --- | --- |
|
||
| Fabien Lafay (client) | Question | [Rapport initial] | "J'ai du mal à accéder au test bleu." | Capture d'écran du message d'erreur |
|
||
| Support | Réponse | [Réponse 1] | "Pouvez-vous fournir plus d'informations sur le message d'erreur?" | Dema...
|
||
2025-04-25 11:23:48,508 - OrchestratorLlamaVision - INFO - Traitement terminé pour le ticket T11143
|
||
2025-04-25 11:23:48,508 - MainLlamaVision - INFO - Analyse du ticket T11143 terminée
|
||
2025-04-25 11:23:48,508 - MainLlamaVision - INFO - Génération des fichiers CSV pour le ticket T11143
|
||
2025-04-25 11:23:48,508 - ReportCSVExporter - INFO - Traitement du rapport: rapport_final_llama3-2-vision-90b-instruct-q8-0_results.json
|
||
2025-04-25 11:23:48,509 - 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:23:48,509 - ReportCSVExporter - INFO - Traitement terminé. 1 modèles traités: llama3-2-vision-90b-instruct-q8-0
|
||
2025-04-25 11:23:48,509 - MainLlamaVision - INFO - Fichiers CSV générés avec succès
|