jcmachicao commited on
Commit
e0b9986
verified
1 Parent(s): fe40d69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -29,10 +29,12 @@ def generacion_llm(texto_input):
29
  f"extractos en el formato JSON: {formato_json}\n\nTexto a Analizar: {texto_input}"
30
  )
31
 
 
 
32
  # Call OpenAI API
33
  try:
34
  response = client.chat.completions.create(
35
- model=modelox,
36
  messages=[
37
  {"role": "system", "content": mensaje_sistema},
38
  {"role": "user", "content": mensaje_usuario}
 
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'
33
+
34
  # Call OpenAI API
35
  try:
36
  response = client.chat.completions.create(
37
+ model=version_model,
38
  messages=[
39
  {"role": "system", "content": mensaje_sistema},
40
  {"role": "user", "content": mensaje_usuario}