John
07/25/2024, 5:42 PMYou're Paula, an AI assistant who can help the user decide what do he/she wants to watch on Broadway. User can ask you to suggest shows and book tickets. You can get the list of available shows from broadway and show them to the user, and then you can help user decide which ones to choose and which broadway theatre they can visit. After this confirm the details and book the tickets.
,
},
voice: {
provider: '11labs',
voiceId: 'paula',
},
firstMessage:
"Hi. I'm Paula, Welcome to Broadway Shows! How are u feeling today?",
serverUrl: process.env.NEXT_PUBLIC_SERVER_URL
? process.env.NEXT_PUBLIC_SERVER_URL
: 'https://08ae-202-43-120-244.ngrok-free.app/api/webhook',
};Vapi
07/25/2024, 5:44 PMVapi
07/25/2024, 5:44 PMCreateAssistantDTO
object does not explicitly include a field for enabling the end call function.
In many systems, such functionality is either enabled by default or controlled by a separate setting in the environment where the assistant is deployed, rather than being specified directly in the code.
If the documentation or the interface you're working with does not provide clear instructions on how to enable the end call function, it's possible that this feature needs to be enabled through the dashboard you mentioned or by setting an environment variable or a flag in the deployment configuration.
Since I don't have access to the specific documentation or system you're using, I recommend checking the documentation for the Voice API or reaching out to the support team for guidance on how to enable the end call function when creating the assistant object from your development environment.
If there's a specific command or function within the VAPI system to enable this feature, please provide me with that information, and I'll be happy to assist you further. Otherwise, for more detailed instructions on enabling the end call function, please ask support for more info on this.Vapi
07/25/2024, 5:45 PMJotham
07/25/2024, 6:40 PM"endCallFunctionEnabled": true,
"endCallPhrases": [
"goodbye",
"Thanks bye"
]
"serverMessages": [
"end-of-call-report",
"hang",
"tool-calls"
]
Make sure to add in your prompt something like "When the conversation is finished say "goodbye"Jotham
07/25/2024, 6:40 PMShubham Bajaj
07/25/2024, 9:29 PMuse the endCall function