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): def questions_generation(knowledge: Knowledge):
context = "Texte : ```" + knowledge.content + "```" 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 prompt = context + "\n" + instruction
#SLM processing #SLM processing

View File

@@ -27,7 +27,7 @@
</script> </script>
<template> <template>
<div class="container"> <div class="container container-size">
<b-field label="Username"> <b-field label="Username">
<!-- @vue-ignore --> <!-- @vue-ignore -->
<b-input <b-input
@@ -51,10 +51,10 @@
</template> </template>
<style scoped> <style scoped>
.container{ .container-size{
width: 20%; flex: none;
background-color: #ffffff; gap:0;
border-radius: 16px; width: 20rem;
padding: 34px; height: 20rem ;
} }
</style> </style>

View File

@@ -30,7 +30,7 @@
</script> </script>
<template> <template>
<div class="container"> <div class="container container-size">
<b-field label="Username"> <b-field label="Username">
<!-- @vue-ignore --> <!-- @vue-ignore -->
<b-input <b-input
@@ -54,10 +54,10 @@
</template> </template>
<style scoped> <style scoped>
.container{ .container-size{
width: 20%; flex: none;
background-color: #ffffff; gap:0;
border-radius: 16px; width: 20rem;
padding: 34px; height: 20rem ;
} }
</style> </style>