Issues patching summaryPrompt with structured data
# support
m
Hello, my call ID is: c2726dd9-55f5-49dd-9131-cc1fa502e56a ...I see that I was able to successfully patch my assistant, but now I don't see the summary at all. Can you help?
v
Hi @MaxKnox, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Update Assistant]() * [Call Analysis]() * [Dashboard]() * [List Assistants]() -----------------------------
### Answer It sounds like you've encountered an issue with the
summaryPrompt
not appearing after updating your assistant's configuration. If the summary prompt has been set to an empty string or disabled, it might cause the summary to not appear at all. To rectify this, ensure that your
summaryPrompt
is correctly configured in the
analysisPlan
of your assistant. You can refer to the Call Analysis documentation to properly set up and customize the
summaryPrompt
[(1)]() . Here's how you might update the summary prompt using the PATCH request:
Copy code
json
{
  "analysisPlan": {
    "summaryPrompt": "Please provide a concise summary of the call."
  }
}
Ensure that the
summaryPrompt
is not set to an empty string or
"off"
unless you intend to disable it. If the issue persists after checking and updating this, it might be beneficial to review the entire PATCH request payload to ensure all properties are correctly set.
Got it. Tagging @User for additional help.
m
I noticed that anytime I patch the bot with a summaryPrompt or analysisPlan, I get NULL for those objects in the server URL response. Seems like the best way to work around this is to leave the default analysisPlan and summaryPrompt so that it doesn't mess up the response and have my endpoint forward the info to yet another endpoint that will properly format and evaluate the data from Vapi. This will work for now although Im keen to know if and when this issue is fixed.
s
Awesome. Lmk if you need help with anything else. Also you can tag the support bot if you want to ask a follow up question
4 Views