This commit is contained in:
Ladebeze66 2025-04-25 15:18:36 +02:00
parent ed8a8f4cbf
commit 10e6f6e552
7 changed files with 223 additions and 99 deletions

View File

@ -305,9 +305,11 @@ Structure your analysis clearly with headers and bullet points.
ticket_id = self._extraire_ticket_id(image_path, contexte or {})
# Nettoyer le nom du modèle pour éviter les doublons
model_name = getattr(self.llm, "modele", str(type(self.llm)))
if model_name.startswith("image_"):
model_name = model_name[6:] # Supprimer le préfixe redondant
model_name = getattr(self.llm, "pipeline_normalized_name", getattr(self.llm, "modele", "llama3-2-vision-90b-instruct"))
if model_name:
model_name = model_name.replace(".", "-").replace(":", "-").replace("_", "-")
logger.info(f"Model name used for logging: {model_name}")
# Traduire la réponse en français
response_fr = en_to_fr(response)
@ -491,6 +493,16 @@ Structure your analysis clearly with headers and bullet points.
ticket_id = self.resultats[0].get("ticket_id", self.resultats[0].get("metadata", {}).get("ticket_id", "UNKNOWN"))
try:
# Normaliser les noms de modèles dans tous les résultats
for result in self.resultats:
if "model_info" in result and "model" in result["model_info"]:
model_name = result["model_info"]["model"]
# Utiliser le nom normalisé du pipeline si disponible
normalized_name = getattr(self.llm, "pipeline_normalized_name", model_name)
# Nettoyer le nom
normalized_name = normalized_name.replace(".", "-").replace(":", "-").replace("_", "-")
result["model_info"]["model"] = normalized_name
# Sauvegarder en mode liste pour accumuler les résultats
sauvegarder_donnees(
ticket_id=ticket_id,

View File

@ -1,22 +1,22 @@
2025-04-25 14:37:18,533 - MainLlamaVision - INFO - Initialisation du modèle LlamaVision: llama3.2-vision:90b-instruct-q8_0
2025-04-25 14:37:18,533 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode)
2025-04-25 14:37:18,533 - MainLlamaVision - INFO - Nom normalisé du modèle: llama3-2-vision-90b-instruct-q8-0
2025-04-25 14:37:18,533 - MainLlamaVision - INFO - Création des agents avec LlamaVision
2025-04-25 14:37:18,533 - 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 14:37:18,533 - AgentFactoryLlamaVision - INFO - Initialisation du modèle llama_vision (modèle: llama3.2-vision:90b-instruct-q8_0)
2025-04-25 14:37:18,533 - LlamaVision - INFO - Initializing LlamaVision with model llama3.2-vision:90b-instruct-q8_0 (English-only mode)
2025-04-25 14:37:18,533 - AgentFactoryLlamaVision - INFO - Création de l'agent de tickets (llama_vision)
2025-04-25 14:37:18,533 - AgentTicketAnalyser - INFO - AgentTicketAnalyser initialisé
2025-04-25 14:37:18,533 - AgentFactoryLlamaVision - INFO - Création de l'agent de tri des images (llama_vision)
2025-04-25 14:37:18,533 - AgentImageSorter - INFO - AgentImageSorter (llama_vision) initialisé
2025-04-25 14:37:18,533 - AgentFactoryLlamaVision - INFO - Création de l'agent d'analyse des images (llama_vision)
2025-04-25 14:37:18,533 - AgentImageAnalyser - INFO - AgentImageAnalyser initialized
2025-04-25 14:37:18,533 - AgentFactoryLlamaVision - INFO - Création de l'agent de génération de rapports (llama_vision)
2025-04-25 14:37:18,533 - AgentReportGenerator - INFO - LlamaVision mode detected: using English system prompt
2025-04-25 14:37:18,533 - AgentReportGenerator - INFO - AgentReportGenerator initialized
2025-04-25 14:37:18,533 - AgentFactoryLlamaVision - INFO - Création de l'agent d'OCR visuel (llama_vision)
2025-04-25 14:37:18,533 - AgentVisionOCR - INFO - AgentVisionOCR initialisé
2025-04-25 14:37:18,533 - MainLlamaVision - INFO - Configuration: {
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,
@ -26,23 +26,23 @@
"english_only": true,
"model_name": "llama3-2-vision-90b-instruct-q8-0"
}
2025-04-25 14:37:18,533 - MainLlamaVision - INFO - Création de l'orchestrateur pour le ticket T11143
2025-04-25 14:37:18,533 - 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 14:37:18,533 - MainLlamaVision - INFO - Démarrage de l'analyse du ticket T11143
2025-04-25 14:37:18,533 - OrchestratorLlamaVision - INFO - Traitement du ticket T11143
2025-04-25 14:37:18,534 - OrchestratorLlamaVision - INFO - Utilisation du modèle: llama3-2-vision-90b-instruct-q8-0
2025-04-25 14:37:18,534 - 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 14:37:18,534 - OrchestratorLlamaVision - INFO - Traduction du contenu du ticket T11143 en anglais
2025-04-25 14:37:18,730 - OrchestratorLlamaVision - INFO - Traduction terminée: 984 caractères
2025-04-25 14:37:18,730 - OrchestratorLlamaVision - INFO - Exécution de l'agent d'analyse de ticket pour T11143
2025-04-25 14:37:18,730 - AgentTicketAnalyser - INFO - Utilisation du contenu déjà traduit pour le ticket T11143
2025-04-25 14:38:28,456 - OrchestratorLlamaVision - INFO - Analyse du ticket terminée: 1307 caractères
2025-04-25 14:38:28,466 - OrchestratorLlamaVision - INFO - 6 images trouvées dans output/ticket_T11143/T11143_20250422_084617/attachments
2025-04-25 14:38:28,734 - OrchestratorLlamaVision - INFO - Traitement OCR de 4 images
2025-04-25 14:38:28,735 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image.png (langue: auto)
2025-04-25 14:38:31,505 - OCR - INFO - Langue détectée: eng
2025-04-25 14:38:32,169 - OCR - WARNING - Impossible de sauvegarder les fichiers de débogage: cannot write mode RGBA as JPEG
2025-04-25 14:38:32,169 - OCR - INFO - OCR réussi [output/ticket_T11143/T11143_20250422_084617/attachments/image.png] — 1347 caractères: Apache Tomcat x +
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
@ -51,60 +51,62 @@ GC @ 2 zk1.brg-lab.com
It works !
If you're ...
2025-04-25 14:38:32,507 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image.png
2025-04-25 14:38:32,507 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image.png
2025-04-25 14:38:32,507 - OrchestratorLlamaVision - INFO - OCR terminé pour image.png: 1347 caractères (en)
2025-04-25 14:38:32,507 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png (langue: auto)
2025-04-25 14:38:33,628 - OCR - INFO - Langue détectée: fra
2025-04-25 14:38:33,909 - OCR - INFO - Images prétraitées et résultat OCR sauvegardés dans debug_ocr
2025-04-25 14:38:33,909 - 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
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 14:38:34,251 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour image_145435.png
2025-04-25 14:38:34,251 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour image_145435.png
2025-04-25 14:38:34,251 - OrchestratorLlamaVision - INFO - OCR terminé pour image_145435.png: 373 caractères (fr)
2025-04-25 14:38:34,251 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg (langue: auto)
2025-04-25 14:38:36,197 - OCR - INFO - Langue détectée: fra
2025-04-25 14:38:37,358 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
2025-04-25 14:38:37,358 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
2025-04-25 14:38:37,359 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
2025-04-25 14:38:37,359 - OrchestratorLlamaVision - INFO - OCR terminé pour 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg: 0 caractères (unknown)
2025-04-25 14:38:37,359 - OCR - INFO - Traitement OCR pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (langue: auto)
2025-04-25 14:38:37,359 - 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 14:38:37,611 - OCR - INFO - Langue détectée: fra
2025-04-25 14:38:37,726 - OCR - WARNING - OCR vide (aucun texte détecté) pour output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
2025-04-25 14:38:37,726 - Translate - INFO - Sauvegarde JSON OCR/TRAD réussie pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
2025-04-25 14:38:37,726 - Translate - INFO - Ligne ajoutée dans ocr_traduction.txt pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
2025-04-25 14:38:37,726 - OrchestratorLlamaVision - INFO - OCR terminé pour a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif: 0 caractères (unknown)
2025-04-25 14:38:37,726 - OrchestratorLlamaVision - INFO - Traitement de 4 images uniques avec l'agent de tri
2025-04-25 14:39:24,722 - AgentImageSorter - WARNING - Image trop petite: output/ticket_T11143/T11143_20250422_084617/attachments/a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif (1x1)
2025-04-25 14:39:24,724 - AgentImageSorter - INFO - Sauvegarde de 4 résultats de tri d'images
2025-04-25 14:39:24,726 - OrchestratorLlamaVision - INFO - Sauvegarde groupée de 4 résultats de tri d'images effectuée
2025-04-25 14:39:24,726 - OrchestratorLlamaVision - INFO - Début de l'analyse des images avec 2 images pertinentes
2025-04-25 14:39:24,726 - OrchestratorLlamaVision - INFO - Analyse de l'image: image.png
2025-04-25 14:39:24,726 - AgentImageAnalyser - INFO - Analyzing image: output/ticket_T11143/T11143_20250422_084617/attachments/image.png
2025-04-25 14:41:00,539 - OrchestratorLlamaVision - INFO - Analyse terminée pour image.png
2025-04-25 14:41:00,539 - OrchestratorLlamaVision - INFO - Analyse de l'image: image_145435.png
2025-04-25 14:41:00,539 - AgentImageAnalyser - INFO - Analyzing image: output/ticket_T11143/T11143_20250422_084617/attachments/image_145435.png
2025-04-25 14:42:53,411 - OrchestratorLlamaVision - INFO - Analyse terminée pour image_145435.png
2025-04-25 14:42:53,411 - AgentImageAnalyser - INFO - Sauvegarde de 2 résultats d'analyse d'images
2025-04-25 14:42:53,412 - OrchestratorLlamaVision - INFO - Sauvegarde des résultats d'analyse d'images via sauvegarder_resultats
2025-04-25 14:42:53,413 - 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 14:42:53,413 - AgentReportGenerator - INFO - Validation for T11143: OK, 2 images analyzed out of 4 images
2025-04-25 14:42:53,413 - AgentReportGenerator - INFO - Number of images to analyze: 4
2025-04-25 14:42:53,413 - AgentReportGenerator - INFO - Adding analysis of image image.png (2 characters)
2025-04-25 14:42:53,413 - AgentReportGenerator - INFO - Adding analysis of image image_145435.png (2 characters)
2025-04-25 14:42:53,413 - AgentReportGenerator - WARNING - Image 543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg without analysis
2025-04-25 14:42:53,413 - AgentReportGenerator - WARNING - Image a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif without analysis
2025-04-25 14:42:53,413 - AgentReportGenerator - INFO - Size of ticket analysis: 6 characters
2025-04-25 14:42:53,413 - AgentReportGenerator - INFO - Size of image block: 9231 characters
2025-04-25 14:42:53,413 - AgentReportGenerator - DEBUG - Generated prompt (15233 characters): Voici les données d'analyse pour un ticket de support :
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 lessai au bleu\xa0:\nMerci par avance pour votre.\nCordialement\n![Image](https://odoo.cbao.fr/web/image/1454...
2025-04-25 14:42:55,383 - AgentReportGenerator - INFO - Translating prompt to English for LlamaVision (14857 characters)
2025-04-25 14:44:13,501 - AgentReportGenerator - INFO - Translating response to French (1724 characters)
2025-04-25 14:44:13,502 - AgentReportGenerator - DEBUG - Response received (1724 characters): ** Rapport croisé **
2025-04-25 15:13:28,802 - AgentReportGenerator - INFO - Translating prompt to English for LlamaVision (14857 characters)
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.
@ -115,10 +117,10 @@ Le client, Fabien Lafay, a signalé un problème avec l'accès à un test bleu.
| --- | --- | --- | --- | --- |
| 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 14:44:13,504 - OrchestratorLlamaVision - INFO - Traitement terminé pour le ticket T11143
2025-04-25 14:44:13,504 - MainLlamaVision - INFO - Analyse du ticket T11143 terminée
2025-04-25 14:44:13,505 - MainLlamaVision - INFO - Génération des fichiers CSV pour le ticket T11143
2025-04-25 14:44:13,505 - ReportCSVExporter - INFO - Traitement du rapport: rapport_final_llama3-2-vision-90b-instruct-q8-0_results.json
2025-04-25 14:44:13,506 - 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 14:44:13,506 - ReportCSVExporter - INFO - Traitement terminé. 1 modèles traités: llama3-2-vision-90b-instruct-q8-0
2025-04-25 14:44:13,506 - MainLlamaVision - INFO - Fichiers CSV générés avec succès
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

View File

@ -5,7 +5,7 @@
"translation_en_back_fr": "",
"metadata": {
"ticket_id": "T11143",
"timestamp": "20250425_143837",
"timestamp": "20250425_150912",
"source_module": "ocr_utils + translate_utils",
"lang_detected": "fr"
}

View File

@ -5,7 +5,7 @@
"translation_en_back_fr": "",
"metadata": {
"ticket_id": "T11143",
"timestamp": "20250425_143837",
"timestamp": "20250425_150912",
"source_module": "ocr_utils + translate_utils",
"lang_detected": "fr"
}

View File

@ -5,7 +5,7 @@
"translation_en_back_fr": "Apache Tomcat x +\n\nGc @ 2 zk1.brg-b.com\n\n@ Andre Demo Devmat @ Modèle de base\n\nÇa marche!\n\nSi vous voyez cette page via un navigateur Web, cela signifie que vous avez configuré Tomcat avec succès. Félicitations!\n\nIl s'agit de la page d'accueil par défaut de Tomcat. Il peut être trouvé sur le système de fichiers local à: /var/lib/tomcat7/webapps/root/index.html\n\nMatou? Les vétérans pourraient être ravis de lire cette instance système de Tomcat est installé avec cataina_home dans / usr / tomcat7 et cataina_base dans / var / 1ib / tomcat7, en suivant les règles de / usr / share / doc / tomcat7-commun / running. SMS. GZ.\nVous pourriez envisager d'installer les packages suivants, si vous avez fait Alreni:\n\nTomcat7-Docs: Ce package installe une application Web qui permet de parcourir la documentation Tomcat 7 localement. Une fois installé, vous pouvez y accéder en cliquant\n\nTomcat7-Exemple: Ce package installe une application Web qui permet d'accéder aux exemples de servlet Tomcat 7 et JSP. Une fois installé, vous pouvez y accéder en cliquant\n\nTomcat7-admin: Ce package installe deux applications Web qui peuvent aider à gérer cette instance Tomcat. Une fois installé, vous pouvez accéder au et le et le et\n\nRemarque: Pour des raisons de sécurité, l'utilisation du gestionnaire WebApp est limitée aux utilisateurs avec le rôle \"Manager-Gui\". Le manager host-manager est limité aux utilisateurs avec un rôle \"Admin-Gui\". Les utilisateurs sont définis dans / et / tomcat7 / tomcta-users.xml.",
"metadata": {
"ticket_id": "T11143",
"timestamp": "20250425_143832",
"timestamp": "20250425_150907",
"source_module": "ocr_utils + translate_utils",
"lang_detected": "fr"
}

View File

@ -5,7 +5,7 @@
"translation_en_back_fr": "C3 Giraudbrg-Lobicom / Brg-Lab / Page Progratsai / Zeaaahevngoaaaa\n\n Brglas cd béton cd foumasew tubo © masse\n\nECHANTILLION N ° 25-0007 ECEPTIAN le 02/04/2025 PR Bollé Victor prévu le 04/04/2025 Por Bollee Victor N ° Pédéwment 25-00078\nMatériau de sable 0/20 Carriere adceg\n\n[Fai Jemmarme | [M Porrouo || onservanons] [<suo] [v hisromou\n\nposé. à partir de 11 e z2k1.brg-lab.com",
"metadata": {
"ticket_id": "T11143",
"timestamp": "20250425_143834",
"timestamp": "20250425_150909",
"source_module": "ocr_utils + translate_utils",
"lang_detected": "fr"
}

View File

@ -108,3 +108,113 @@ a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
[EN] _
[EN→FR] _
image.png
[FR] Apache Tomcat x +
GC @ 2 zk1.brg-lab.com
@ Andre Demo Devmat @ Base modéle
It works !
If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!
This is the default Tomcat home page. It can be found on the local filesystem at: /var/lib/tomcat7/webapps/ROOT/index.html
Tomcat? veterans might be pleased to learn that this system instance of Tomcat is installed with CATALINA_HOME in /usr/share/tomcat7 and CATALINA_BASE in /var/1ib/tomcat7, following the rules from /usr/share/doc/tomcat7-common/RUNNING. txt. gz.
You might consider installing the following packages, if you haven't already done so:
tomcat7-docs: This package installs a web application that allows to browse the Tomcat 7 documentation locally. Once installed, you can access it by clicking
tomcat7-examples: This package installs a web application that allows to access the Tomcat 7 Servlet and JSP examples. Once installed, you can access it by clicking
tomcat7-admin: This package installs two web applications that can help managing this Tomcat instance. Once installed, you can access the and the
NOTE: For security reasons, using the manager webapp is restricted to users with role "manager-gui". The host-manager webapp is restricted to users with role "admin-gui". Users are defined in /etc/tomcat7/tomcat-users.xml.
[EN] Apache Tomcat x +
GC @ 2 zk1.brg-lab.com
@ Andre Demo Devmat @ Base model
It works!
If you are seeing this page via a web browser, it means you've setup tomcat successfully. Congratulations!
This is the Default Tomcat Home Page. It can be found on the local Filesystem at: /var/lib/tomcat7/webapps/root/index.html
Tomcat? veterans might be pleased to read this system instance of tomcat is installed with catalina_home in/usr/tomcat7 and catalina_base in/var/1ib/tomcat7, following the rules from/usr/share/doc/tomcat7-common/Running. TXT. Gz.
You might consider installing the following packages, if you have alreni done so:
Tomcat7-Docs: This Package Installes A Web Application that Allows to Browse the Tomcat 7 Locally documentation. Once Installed, you can access it by clicking
Tomcat7-Example: This Package Installes A Web Application that Allows to Access the Tomcat 7 Servlet and JSP Examples. Once Installed, you can access it by clicking
Tomcat7-Admin: This Package Installes Two Web Applications that can help managing this tomcat instance. Once Installed, you can access the and the
Note: For Security Reasons, Using the Manager Webapp is restricted to users with role "manager-gui". The Host-Manager Webapp is restricted to users with role "admin-gui". USERS ARE DEFINED in/and/TOMCAT7/TOMCTA-users.xml.
[EN→FR] Apache Tomcat x +
Gc @ 2 zk1.brg-b.com
@ Andre Demo Devmat @ Modèle de base
Ça marche!
Si vous voyez cette page via un navigateur Web, cela signifie que vous avez configuré Tomcat avec succès. Félicitations!
Il s'agit de la page d'accueil par défaut de Tomcat. Il peut être trouvé sur le système de fichiers local à: /var/lib/tomcat7/webapps/root/index.html
Matou? Les vétérans pourraient être ravis de lire cette instance système de Tomcat est installé avec cataina_home dans / usr / tomcat7 et cataina_base dans / var / 1ib / tomcat7, en suivant les règles de / usr / share / doc / tomcat7-commun / running. SMS. GZ.
Vous pourriez envisager d'installer les packages suivants, si vous avez fait Alreni:
Tomcat7-Docs: Ce package installe une application Web qui permet de parcourir la documentation Tomcat 7 localement. Une fois installé, vous pouvez y accéder en cliquant
Tomcat7-Exemple: Ce package installe une application Web qui permet d'accéder aux exemples de servlet Tomcat 7 et JSP. Une fois installé, vous pouvez y accéder en cliquant
Tomcat7-admin: Ce package installe deux applications Web qui peuvent aider à gérer cette instance Tomcat. Une fois installé, vous pouvez accéder au et le et le et
Remarque: Pour des raisons de sécurité, l'utilisation du gestionnaire WebApp est limitée aux utilisateurs avec le rôle "Manager-Gui". Le manager host-manager est limité aux utilisateurs avec un rôle "Admin-Gui". Les utilisateurs sont définis dans / et / tomcat7 / tomcta-users.xml.
image_145435.png
[FR] C3 giraudbrg-lobicom/BRG-LAB/PAGE programmetssai/zEAAAHEVNGOAA
BRGLAS CD Béton CD Foumasew tubo © Masse
Echantillion n° 25-0007 éceptianné le 02/04/2025 pr BOLLÉE Victor prélevi le 02/04/2025 por BOLLEE Victor n° péédéwement 25-00078
Matériau Sable 0/20 CARRIERE ADCEG
[vEssu JEMmarme |[ M Porrouo || onservanons ][<suo ][V hisromou
posait. de 11 e z2k1.brg-lab.com
[EN] C3 GIRAUDBRG-LOBICOM/BRG-LAB/PAGE PROGRATSSAI/ZEAAAHEVNGOAAA
Brglas CD concrete CD Foumasew Tubo © Mass
Echantillion n ° 25-0007 eceptian on 02/04/2025 PR BOLLÉ Victor prevoted on 04/04/2025 POR BOLLEE Victor N ° Pédéwment 25-00078
Sand material 0/20 CARRIERE ADCEG
[FAI JEMMARME | [M porrouo || onservanons] [<suo] [v hisromou
posed. from 11 e z2k1.brg-lab.com
[EN→FR] C3 Giraudbrg-Lobicom / Brg-Lab / Page Progratsai / Zeaaahevngoaaaa
Brglas cd béton cd foumasew tubo © masse
ECHANTILLION N ° 25-0007 ECEPTIAN le 02/04/2025 PR Bollé Victor prévu le 04/04/2025 Por Bollee Victor N ° Pédéwment 25-00078
Matériau de sable 0/20 Carriere adceg
[Fai Jemmarme | [M Porrouo || onservanons] [<suo] [v hisromou
posé. à partir de 11 e z2k1.brg-lab.com
543d7da1b54c29ff43ce5712d1a9aa4962ed21795c4e943fcb8cb84fd4d7465a.jpg
[FR] _
[EN] _
[EN→FR] _
a20f7697fd5e1d1fca3296c6d01228220e0e112c46b4440cc938f74d10934e98.gif
[FR] _
[EN] _
[EN→FR] _