following response gives assistant error as he say...
# support
p
{"result":{"calendar_uuid":"6405c787-cb3b-4407-bf20-a777d6269f1b","available_slots":["2024-11-08 09:00:00","2024-11-08 10:00:00","2024-11-08 11:00:00","2024-11-08 12:00:00","2024-11-08 13:00:00"],"message":"c'est absolument génial j'ai des créneaux disponibles"}} Why?
(says: it seems i wasn"t able to retrieve any information or result even tho payload is as above and 200)
aditionally it says it in english even tho model is configured in french
v
@paul gaston It seems like you've received a message confirming the availability of time slots for a calendar with the UUID
6405c787-cb3b-4407-bf20-a777d6269f1b
. The message is expressing enthusiasm about having available slots on the specified date, which is November 8, 2024, at various times throughout the day. This could be in response to a request you made for available times for an appointment, meeting, or event. If you need to take any further actions, such as booking one of these slots or inquiring more about the context, please let me know how I can assist you!
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
p
the help provided doesn't make sense, I need to understand the reason why even tho the payload seems correct based on the docs, the assistant raises an error in english saying it's not valid and asking me what I need in english even tho it's configured in french. sincerely
v
Got it. Tagging @User for additional help.
p
maybe i should use open ai functions rather than vapi blocs?
I configured server so it replies with very simple answer: { "result": "c'est absolument génial j'ai des créneaux disponibles" } but it doesn't work even tho the result is200 ok and displayed in your webhook logs section of dashbaord
s
Hey @paul gaston you need to ensure you return the response in following format https://docs.vapi.ai/tools-calling#server-response-format-providing-results-and-context and we accept result response of type string only.
If this doesn't works for you, share the call id and tag me.
Because of no response closing this ticket.
2 Views