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):
|
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
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user