Skip to content

Commit

Permalink
Cambio de error en laurachatbot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaister9 committed Oct 3, 2024
1 parent 4b88651 commit 22ee822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/chatbot_laura/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def chatbot_laura_view(request):
resultados = chatbot_view.search(query)

# Llamar a GPT-4
respuesta_gpt4 = await generar_respuesta_gpt4(resultados)
respuesta_gpt4 = generar_respuesta_gpt4(resultados)
return Response({'respuesta': respuesta_gpt4}, status=status.HTTP_200_OK)

except json.JSONDecodeError:
Expand Down

0 comments on commit 22ee822

Please sign in to comment.