<@865531204849500190> , I checked with this JSON ...
# office-hours
s
@Shubham Bajaj , I checked with this JSON Validator and in this Validator, I'm getting it as a valid JSON Code: { "model": { "provider": "openai", "model": "gpt-4o", "messages": [ { "type": "system", "content": "You are a sales representative for Central Data Storage. If at any point you determine you're speaking to a voicemail system (greeting mentions 'unavailable', 'leave a message', 'voicemail', etc.), immediately use the leave_voicemail tool." } ], "tools": [ { "type": "voicemail", "function": { "name": "leave_voicemail", "description": "Leave a voicemail message when you detect you've reached a voicemail system" }, "messages": [ { "type": "request-start", "content": "Hi {{name}}, this is Linda at Central Data Storage. We work with IT firms and MSPs on secure backup, recovery, and cybersecurity. You can reach me at 531-223-1129. Again, this is Linda with Central Data Storage, at 531-223-1129. Looking forward to connecting." } ] } ] } } BUT, in my VAPI Custom Tool, after copying the same json code, I'm getting this error: Invalid JSON Schema: { "_errors": [], "type": { "_errors": [ "Invalid literal value, expected \"object\"" ] }, "properties": { "_errors": [ "Required" ] } } ** Is this is a bug problem in Vapi for Custom Voicemail detection tool or I'm making a mistake?** @Shubham Bajaj https://cdn.discordapp.com/attachments/1228667357849849856/1415265602104463421/image.png?ex=68c2944d&is=68c142cd&hm=a07bbf58e9a1fe2ef74157c7687579e02c1159c79c1d73c41adbfb0b27c1d82e& https://cdn.discordapp.com/attachments/1228667357849849856/1415265602532020224/image.png?ex=68c2944e&is=68c142ce&hm=b8b49b39058d49dd1c2f6a6f7b0f4358ed074dc4288fef70f99b830851525b6e&
2 Views