From 98b58d8b23b7a29a2a266ed40c3f660fbb28b602 Mon Sep 17 00:00:00 2001
From: MAFTOUH Mohammed Amine <mohammed-amine.maftouh@imt-atlantique.net>
Date: Fri, 28 Mar 2025 13:22:38 +0000
Subject: [PATCH] Edit generate_topics.py

---
 topic generation/generate_topics.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/topic generation/generate_topics.py b/topic generation/generate_topics.py
index a2baa70..ad48169 100644
--- a/topic generation/generate_topics.py	
+++ b/topic generation/generate_topics.py	
@@ -1,3 +1,5 @@
+import openai
+
 def generate_topics_for_cluster(messages_cluster):
     prompt = f"Donne les principaux sujets ou thèmes pour les messages suivants :\n\n" + "\n".join(messages_cluster) + "\n\nQuels sont les topics principaux de ces messages ?"
     # Ancienne syntaxe pour la version 0.29
-- 
GitLab