Tool call response not working
# support
s
call ids: -
b66d378f-d58b-44ba-b627-60ebe29c9c67
-
56c6760d-59eb-4997-b1bb-cc92b89c7f71
Even though the the booking is getting created in my backend through the tool call, the assistant always says the request-failed speech after the booking is created.
v
@sumitguha It sounds like there might be an issue with the response handling in your assistant's workflow. When the booking is successfully created in your backend, the assistant should provide a confirmation message rather than a failure message. To resolve this, you'll need to check the logic that handles the API response after the booking is created. Here are a few steps you can take to troubleshoot and fix the issue: 1. Verify the API Response: Ensure that your backend is sending the correct status code and response body after a booking is created. 2. Check Assistant Logic: Review the assistant's code or configuration to make sure it correctly interprets a successful booking creation. It should check for a successful status code or a specific message in the response body. 3. Update Speech Output: If the logic is correct but the speech output is still wrong, update the assistant's response templates to provide the correct speech when a booking is successful. 4. Test the Workflow: After making changes, test the entire booking process to ensure that the assistant now responds with the correct speech upon a successful booking. If you need assistance with specific code or configurations, please provide more details or ask support for more info on this.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
any update on this?
@Sahil
never mind...the toolCall id in my server was wrong..
fixed it
6 Views