Benda
11/13/2024, 9:29 AMVapi
11/13/2024, 9:32 AMVapi
11/13/2024, 9:32 AMVapi
11/13/2024, 9:32 AMtoolCallId
from the incoming webhook request and using that exact ID in your response.
Here's a quick checklist to ensure your response is correctly formatted:
1. Confirm that the toolCallId
in your response matches the toolCallId
that was sent to your server by VAPI.
2. Ensure that the result
field contains the response you want the assistant to speak or act upon.
3. Verify that your server is sending the response back with the correct Content-Type
header, which should be application/json
.
4. Check that your server is responding within the expected time frame, as delays can cause timeouts.
If you've checked all these points and the issue persists, please provide more details or ask support for more info on this.Benda
11/13/2024, 3:47 PMShubham Bajaj
11/14/2024, 9:35 AMBenda
11/14/2024, 9:17 PMShubham Bajaj
11/16/2024, 5:32 PMBenda
11/17/2024, 6:30 AMShubham Bajaj
11/18/2024, 5:09 PMjson
🔵 04:56:42:126 AzureOpenAIRequest. Messages:
[
{
"role": "system",
"content": "Role:\nJste zkušená AI asistentka pro Autoservis Ji..."
},
{
"role": "assistant",
"content": "Dobrý den, vítejte v Autoservisu jiskra jak vám můžeme dnes pomoci?"
},
{
"role": "user",
"content": "Dobrý den, což se objednat vyjmenholie"
},
{
"role": "assistant",
"content": "Ano, tuto službu poskytujeme. Mohu vám položit pár otázek abychom naplánovali návštěvu?"
},
{"role": "user", "content": "Ano, určitě vítejte."},
{
"role": "assistant",
"content": "Dobře, jaké je vaše příjmení?"
},
{"role": "user", "content": "Benda,"},
{
"role": "assistant",
"content": "Děkuji, pane Benda, jaká je značka vašeho vozidla?"
},
{"role": "user", "content": "Škoda."},
{
"role": "assistant",
"content": "Skvělélé a kdy vám vyhovuje k nám přistavit vozidlo?"
},
{"role": "user", "content": "Zítra v 10."},
{
"role": "assistant",
"content": "undefined\n\nTo zabere jenom vteřinu.",
"toolCalls": [
{
"id": "call_ov1nQFiogw8GQWotiG844tw0",
"type": "function",
"function": {
"name": "Rezervace",
"arguments": "{\"čas\": \"zítra v 10\"}"
}
}
]
},
{
"role": "tool",
"content": "Ty kokot, funguje to",
"toolCallId": "call_ov1nQFiogw8GQWotiG844tw0"
}
]