Assistant is not calling my tool automatically
# support
s
The caller is able to book an appointment in my assistant We collect a lot of info and call the checkavailability tool The AI said will check the availability but didnt call the tool Assistantid d52ad214-e93f-4535-9089-05109d5284f4 CallId 3eadd1a7-bfcc-4d50-8dee-a482c4211ec5
@Shubham Bajaj could you support me here pls?
at 16:44:22:580 the AI said that will check the availability
after this log, we have logs about the knowledge base, maybe the AI is checking in the KB instead call the tool
at 16:44:41:506 I had to ask to AI if 'did she check', after that she did the tool call
@Shubham Bajaj any news?
s
@Seygi Sorry after marking it as seen, somehow it got missed.
@Seygi can you try making another call using gpt-4o model if this didn't worked then you have to do rework on prompt according to the guide https://docs.vapi.ai/prompting-guide
s
hey @Shubham Bajaj Good morning tks for your reply my assistant is already using the model gpt-4o-mini, should I change it to the gpt-4o? I created this prompt following the examples on this webpage.
c
Yes, it will help with the tool calling.
s
@Shubham Bajaj The same error using the gpt-4o callId 03aa1eb9-a3bd-4d27-88c9-86b6d9fffba1
c
Hey, we will be having an Office Hour in 20 minutes. Can you hop in and get your query resolved during it?
s
Sorry I didnt see your message.
c
Hey Seygi, I was going through your last call ID shared and I can see the assistant called the tool, and then eventually generated the response.
Copy code
"result": { "available_slots": [ {"time": "2025-02-11T09:00:00.000-03:00"}, {"time": "2025-02-11T09:30:00.000-03:00"}, {"time": "2025-02-11T10:00:00.000-03:00"}, {"time": "2025-02-11T10:30:00.000-03:00"}, {"time": "2025-02-11T11:00:00.000-03:00"}, {"time": "2025-02-11T11:30:00.000-03:00"}, {"time": "2025-02-11T12:00:00.000-03:00"}, {"time": "2025-02-11T12:30:00.000-03:00"}, {"time": "2025-02-11T13:00:00.000-03:00"}, {"time": "2025-02-11T13:30:00.000-03:00"} ] }
Now I want to understand what response you were expecting? \`\`\` However, I can offer you the following available times for tomorrow, February eleventh, 9 AM, BRT. 9 30 AM BRT. Any of these times work for you? \`\`\`
3 Views