add details

This commit is contained in:
Robin COuret
2026-03-09 10:16:26 +01:00
parent ffa9efcfe3
commit d3c6845bdc
4 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ nlp = spacy.load("fr_core_news_sm")
def questions_generation(knowledge: Knowledge):
context = "Texte : ```" + knowledge.content + "```"
instruction = "A partir du texte génère 3 questions :"
instruction = "A partir du texte génère 3 questions. Ces 3 questions vise à approfonfir (augmenter, intensifier, accroître, creuser) le texte. "
prompt = context + "\n" + instruction
#SLM processing