Skip to content
Snippets Groups Projects
Commit 98b58d8b authored by MAFTOUH Mohammed Amine's avatar MAFTOUH Mohammed Amine
Browse files

Edit generate_topics.py

parent 582e282c
No related branches found
No related tags found
No related merge requests found
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment