jcmachicao commited on
Commit
25d7047
verified
1 Parent(s): 7965ad3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
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
- "expectativas": " "
18
  }
19
  '''
20
 
@@ -25,8 +27,11 @@ def generacion_llm(texto_input):
25
  )
26
 
27
  mensaje_usuario = (
28
- f"Analizar el texto mostrado al final, buscando identificar los siguientes "
29
- f"extractos en el formato JSON: {formato_json}\n\nTexto a Analizar: {texto_input}"
 
 
 
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'