How to set System Prompt for Assistant via the Cre...
# support
n
What parameter should I use to specify the System Prompt to be used in the Create Assistant API call? I don't see any available param in the docs but I think this must be possible and maybe I missed it? Please help 🙂
v
Hi @nc35_, 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**: * [Web Calling]() * [Outbound Calling]() * [Create Assistant]() * [Custom LLM]() -----------------------------
### Answer In the Vapi Create Assistant API, the parameter for setting the System Prompt is called
summaryPrompt
. You can specify the system prompt using this parameter in the API call when you create an assistant. Here's an example of how you can include it in your API request:
Copy code
json
{
  "summaryPrompt": "Your system prompt text here"
}
This parameter allows you to set a custom prompt that will summarize the call at the end, which can be utilized as a form of system prompt for the assistant's operation during the call [(1)]() . If you need further details or examples on setting up assistants, you can refer to the official documentation on creating assistants .
s
Assistant API as in OpenAI one or are you referring to Vapi Assistant endpoint?
30 Views