Kavish
01/02/2025, 7:48 PMVapi
01/02/2025, 7:50 PMVapi
01/02/2025, 7:50 PMChowderr
01/02/2025, 8:56 PMKavish
01/03/2025, 1:14 PMShubham Bajaj
01/03/2025, 2:52 PMlogs
🔵 19:23:19:636 Couldn't Generate Summary. Error The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
🟡 19:23:19:222 Couldn't Complete Anthropic Bedrock Request. Status: 400. Error: 400 Malformed input request: #: subject must not be valid against schema {"required":["messages"]}#/messages: expected minimum item count: 1, found: 0, please reformat your input and try again.
🟡 19:23:19:217 Couldn't Complete Anthropic Bedrock Request. Status: 400. Error: 400 Malformed input request: #: subject must not be valid against schema {"required":["messages"]}#/messages: expected minimum item count: 1, found: 0, please reformat your input and try again.Shubham Bajaj
01/03/2025, 2:52 PMjson_schema
json
{
"summaryPlan": {
"enabled": true,
"messages": [
{
"role": "system",
"content": "You are an expert note-taker. Summarize this call in a few lines."
},
{
"role": "user",
"content": "Here is the transcript:\\n\\n{{transcript}}\\n\\n"
}
],
"timeoutSeconds": 60
},
"structuredDataPlan": {
"enabled": true,
"schema": {
"type": "object",
"title": "CallData",
"description": "Extract important fields from the call transcript.",
"properties": {
"customerName": {
"type": "string",
"description": "Full name of the customer."
},
"orderNumber": {
"type": "string",
"description": "Order or ticket number referenced during the call."
},
"issueCategory": {
"type": "string",
"description": "High-level category describing the customer’s issue."
}
},
"required": [
"customerName",
"issueCategory"
]
},
"messages": [
{
"role": "system",
"content": "You are an expert data extractor. Only return valid JSON that follows this schema:\\n{{schema}}"
},
{
"role": "user",
"content": "Here is the transcript:\\n\\n{{transcript}}\\n\\n"
}
],
"timeoutSeconds": 60
},
"successEvaluationPlan": {
"enabled": true,
"rubric": "PassFail",
"messages": [
{
"role": "system",
"content": "You are an expert call evaluator. Return only whether the call was successful.\\nRubric:\\n{{rubric}}"
},
{
"role": "user",
"content": "Here is the transcript:\\n\\n{{transcript}}\\n\\n"
},
{
"role": "user",
"content": "Here was the system prompt:\\n\\n{{systemPrompt}}\\n\\n"
}
],
"timeoutSeconds": 60
}
}
Shubham Bajaj
01/03/2025, 3:15 PMKavish
01/03/2025, 3:17 PM{
"message": [
"property summaryPlan should not exist",
"property structuredDataPlan should not exist",
"property successEvaluationPlan should not exist"
],
"error": "Bad Request",
"statusCode": 400
}
https://cdn.discordapp.com/attachments/1324464343081025682/1324758590917185546/message.txt?ex=67795114&is=6777ff94&hm=908ca2bc90cfb32995c59d102813257b686e5bab2529e64581d33e0337ae9395&Shubham Bajaj
01/03/2025, 3:26 PManalysisPlan
curl -X POST https://api.vapi.ai/assistant \
-H "Authorization: Bearer " \
-H "Content-Type: application/json" \
-d '{
"analysisPlan": {
"structuredDataPlan": {
"messages": [],
"enabled": true,
"timeoutSeconds": 60,
"schema": {}
},
"summaryPlan": {},
"successEvaluationPlan": {}
}
}'
Kavish
01/03/2025, 5:52 PMShubham Bajaj
01/07/2025, 9:53 AM