add details
This commit is contained in:
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="container container-size">
|
||||
<b-field label="Username">
|
||||
<!-- @vue-ignore -->
|
||||
<b-input
|
||||
@@ -51,10 +51,10 @@
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.container{
|
||||
width: 20%;
|
||||
background-color: #ffffff;
|
||||
border-radius: 16px;
|
||||
padding: 34px;
|
||||
.container-size{
|
||||
flex: none;
|
||||
gap:0;
|
||||
width: 20rem;
|
||||
height: 20rem ;
|
||||
}
|
||||
</style>
|
||||
@@ -30,7 +30,7 @@
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="container container-size">
|
||||
<b-field label="Username">
|
||||
<!-- @vue-ignore -->
|
||||
<b-input
|
||||
@@ -54,10 +54,10 @@
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.container{
|
||||
width: 20%;
|
||||
background-color: #ffffff;
|
||||
border-radius: 16px;
|
||||
padding: 34px;
|
||||
.container-size{
|
||||
flex: none;
|
||||
gap:0;
|
||||
width: 20rem;
|
||||
height: 20rem ;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user