Voice Agent Not Performing Final Tool (MOST IMPORT...
# support
s
Hey there VAPI Support! So I have refined my prompt for an assistant I have for my client to always perform each and every tool. Yet the only tool, and arguably, the most important tool, is not being performed before the assistant is finalizing the conversation. I have found ways to really emphasize tools in my prompt, through multiple references and its conditional logic. Yet still, the only tool that is being skipped is the final one, which creates the job in their system. I was wondering how I can possibly fix this? In my prompt, the language surrounding this tool follows and is consistent with the language in other tools, and is still being skipped sometimes. Troubleshooted a bunch already. Id say it only performs this tool 75% of the time. (had to develop a "safety net" automation that checks summary and tools performed to inform their team when this occurs) I dont want to use blocks as it is still in beta, and does not have conditional logic branching features that I would need for this assistant or else I would use it. Was wondering if one of the engineers can look into this based on a couple of call ids? Let me know if any other info is required for you to look into this 😎 Thanks in advance!!!! Call ids where this is occuring: 53763cef-6ba4-44ca-b4bb-d510a322b00c ada754a7-9e11-4e65-b5c2-d695cc52ea58 Sucessful Tool Performing Call Ids: 95e3999c-7e59-4a43-a673-3eed923367a2 7d87193b-92c9-4c15-867d-517f00c96734
v
@Shmiggy Hello! Thank you for reaching out with your concern about the assistant not consistently performing the final tool that creates a job in your client's system. I understand how crucial it is for the entire process to run smoothly and consistently. To assist you better, I will need to look into the specific call IDs you've provided where the issue is occurring, as well as the successful ones, to identify any discrepancies or patterns that might be causing the inconsistency. I'll start by reviewing the call logs and configurations for the provided IDs. If I find any issues or potential solutions, I will let you know. If the problem requires further investigation by our engineering team, I will escalate it accordingly. In the meantime, if you have any additional information or specific details about the tool that is being skipped or the conditions under which it fails, please share them as they might help in diagnosing the issue more quickly. Thank you for your patience, and rest assured, we'll work on resolving this issue as soon as possible.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
@User ?
s
@Shmiggy can you let me in failed tool call which tool your were expecting to be called out at what secondsFromStart kinda expected vs actual respones?
s
Specifically, in call id: 53763cef-6ba4-44ca-b4bb-d510a322b00c The user say yes after confirming their information (timestamp: 08:10:33:508) Right after that is confirmed (user says yes), as included in my prompting, the assistant should perform the create job tool. Instead, the model skips the tool, and relays the confirmation message at timestamp: 08:10:35:070
@Shubham Bajaj
s
Remove KB and pass all the infromation in prompt
it will work.
basically your prompt will be cached by openai
and it will work properly
s
Thanks Sahil, Going to give this a go and see how it plays out. Thanks for providing solution. 😎
3 Views