jcmachicao
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -11,10 +11,12 @@ def generacion_llm(texto_input):
|
|
11 |
# Define the system and user messages
|
12 |
formato_json = '''
|
13 |
{
|
|
|
|
|
14 |
"reto": " ",
|
15 |
"dudas": " ",
|
16 |
-
"preguntas": "
|
17 |
-
"
|
18 |
}
|
19 |
'''
|
20 |
|
@@ -25,8 +27,11 @@ def generacion_llm(texto_input):
|
|
25 |
)
|
26 |
|
27 |
mensaje_usuario = (
|
28 |
-
f"Analizar el texto
|
29 |
-
|
|
|
|
|
|
|
30 |
)
|
31 |
|
32 |
version_model = 'gpt-3.5-turbo-0125'
|
|
|
11 |
# Define the system and user messages
|
12 |
formato_json = '''
|
13 |
{
|
14 |
+
"nombre_usuario": " ",
|
15 |
+
"ubicaci贸n": " ",
|
16 |
"reto": " ",
|
17 |
"dudas": " ",
|
18 |
+
"preguntas": " ",
|
19 |
+
"expectativas_del_taller": " "
|
20 |
}
|
21 |
'''
|
22 |
|
|
|
27 |
)
|
28 |
|
29 |
mensaje_usuario = (
|
30 |
+
f"Analizar el texto: \nTexto a Analizar: {texto_input}, que es una redacci贸n \
|
31 |
+
libre de un usuario que busca asesor铆a para su uso 贸ptimo de la inteligencia \
|
32 |
+
artificial, que busca orientaci贸n a trav茅s de un taller de asesor铆a de un facilitador, \
|
33 |
+
para lo cual te pido identifiques los siguientes extractos del texto \
|
34 |
+
en el formato JSON: {formato_json}\n"
|
35 |
)
|
36 |
|
37 |
version_model = 'gpt-3.5-turbo-0125'
|