Jonathan van der Veen
10/05/2024, 3:24 PMVapi
10/05/2024, 3:25 PMassistantOverrides.serverMessages
parameter in your HTTP request. To change the default message before making a tool call, you would include the tool-calls
option in the serverMessages
array and specify the custom message you want the assistant to say.
Here's an example of how you might structure your HTTP request to include this customization:
json
{
"assistantOverrides": {
"serverMessages": [
"status-update",
"transcript",
"hang",
"function-call",
"tool-calls",
"end-of-call-report",
"conversation-update",
"phone-call-control",
"model-output",
"voice-input"
],
"toolCallMessage": "Let me check Jonathan's calendar for you"
},
// ... other parameters for your call ...
}
Please note that the toolCallMessage
parameter is an example and may not reflect the actual parameter name used in your API. You would need to refer to the API documentation or ask support for the correct parameter to use for customizing tool call messages.
If you need further assistance with the exact parameter or the structure of the HTTP request, please ask support for more info on this.Vapi
10/05/2024, 3:25 PMJonathan van der Veen
10/05/2024, 4:04 PMJonathan van der Veen
10/05/2024, 4:11 PMShubham Bajaj
10/07/2024, 6:13 PMShubham Bajaj
10/09/2024, 2:28 PM