Update app.py
Browse files
app.py
CHANGED
@@ -21,10 +21,16 @@ Your goal is to provide answers relating to a legal document, making classificat
|
|
21 |
rag_text = """
|
22 |
"""
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
format_text = """{
|
25 |
"tipo": "clasificaci贸n del argumento (Argumento tipo X)",
|
26 |
"descripcion": "Descripcion breve del argumento",
|
27 |
-
"texto_referencia": "texto original
|
28 |
}"""
|
29 |
|
30 |
prompt_template_text = """
|
|
|
21 |
rag_text = """
|
22 |
"""
|
23 |
|
24 |
+
#format_text = """{
|
25 |
+
# "tipo": "clasificaci贸n del argumento (Argumento tipo X)",
|
26 |
+
# "descripcion": "Descripcion breve del argumento",
|
27 |
+
# "texto_referencia": "texto original completo perteneciente a dicho argumento"
|
28 |
+
#}"""
|
29 |
+
|
30 |
format_text = """{
|
31 |
"tipo": "clasificaci贸n del argumento (Argumento tipo X)",
|
32 |
"descripcion": "Descripcion breve del argumento",
|
33 |
+
"texto_referencia": "cita el fragmento del texto original letra a letra signo a signo en el cual has basado tu respuesta"
|
34 |
}"""
|
35 |
|
36 |
prompt_template_text = """
|