m
@Vapi My transient assistant is doing some weird stuff right now. I'm using it to schedule, cance, and reschedule appointments. It worked perfectly once, then didn't work properly again. I've trimmed it down to test it out, and when I try to book an appointment using the tool I provided, it runs the checkAvailibility tool, a completely different tool which is was never told to do. I gave it access in the GUI, but not in the JSON provided in assistantOverrides I've included below. Is Vapi bugging out for anyone else? Adding in that hte prompt is exactly the same in the GUI, minus the date which is being added via the transient assistant. { "assistantId": "280d9080-44aa-4459-9dc8-d79b3718a6c1", "assistantOverrides": { "firstMessage": "Hi, this is Kylie with Perfect Receptionist. Want to book an appointment?", "model": { "provider": "openai", "model": "gpt-4-turbo", "emotionRecognitionEnabled": true, "messages": [ { "role": "assistant", "content": "You are an appointment setter for Perfect Receptionist.If they'd like to book an appointment, get the following information first, Name, Email, Phone Number, Time to Book, Purpose for booking, then run the booking tool. The UTC date and time for right now is {{formatDate(now; "'dddd, MM/DD/YYYY HH:mm'")}}. Schedule everything using US standard eastern time." } ], "tools": [ { "type": "function", "function": { "name": "booking" } } ] } } }
v
@MattyBGood I'm sorry to hear that you're experiencing issues with your transient assistant. It sounds like there might be a discrepancy between the tools you've given access to in the GUI and the JSON configuration in the
assistantOverrides
. The JSON you've provided indicates that the assistant should use the
booking
tool when scheduling appointments. If the assistant is running the
checkAvailability
tool instead, despite not being instructed to do so in the JSON, it could be due to a misconfiguration or an unexpected behavior in the system. I would recommend double-checking the assistant's configuration in both the GUI and the JSON to ensure they are aligned and that no unintended tools are enabled. If after reviewing the configuration the issue persists, it might be necessary to reach out to the support team for further assistance. They can provide more detailed troubleshooting and help resolve any potential bugs with Vapi. Please let me know if there's anything specific you would like me to do to assist you further!
3 Views