You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, if you don’t mind, I'd like to ask a question here.
I'm trying to create an AI assistant. For this, I’ve created an API that the model can call. However, I’ve noticed that sometimes the assistant gets lost. I thought that maybe I should return more meaningful strings from my functions, indicating whether the response is successful or if there was an exception or an empty response.
What if an exception occurs in changeBooking, or the request doesn’t contain enough information to change the booking? Would a more descriptive return value be helpful in such cases?
The text was updated successfully, but these errors were encountered:
Hi, if you don’t mind, I'd like to ask a question here.
I'm trying to create an AI assistant. For this, I’ve created an API that the model can call. However, I’ve noticed that sometimes the assistant gets lost. I thought that maybe I should return more meaningful strings from my functions, indicating whether the response is successful or if there was an exception or an empty response.
For instance, in this bean you created:
What if an exception occurs in
changeBooking
, or the request doesn’t contain enough information to change the booking? Would a more descriptive return value be helpful in such cases?The text was updated successfully, but these errors were encountered: