f3rnandomoreno / spring-ai-telegram-task-manager

A telegram task manager chatbot using openAI API
0 stars 0 forks source link

sql agent cannot change status if the user is not the assigne #32

Closed f3rnandomoreno closed 3 days ago

f3rnandomoreno commented 4 days ago

When the user tries to change the status of the task it tries to change the status including the assigne the user in the where statement. First create a test that create a update statement for "Pon la tarea 11 como Completada" and the assigne should not be in the generated sql statement. Improve the prompt of sqlagent to be more precise.

f3rnandomoreno commented 3 days ago

fixed with new prompt.