NIСК
12/16/2024, 6:57 PMVapi
12/16/2024, 6:57 PMassistantOverrides parameter when you start the assistant. You can override the voice ID for each user session by passing the specific voice ID you want to use for that session.
Here's how you can do it:
1. Retrieve the assistant's ID from the assistant detail page.
2. Start the assistant with the .start() function, passing the persistent assistant’s ID.
3. Include the assistantOverrides parameter with the desired voice ID for the user.
For example:
javascript
vapi.start("79f3XXXX-XXXX-XXXX-XXXX-XXXXXXXXce48", {
assistantOverrides: {
voiceId: "userSpecificVoiceId"
}
});
In this way, you can maintain a single assistant and dynamically change the voice ID based on the user, which should be much more manageable and efficient for your use case. If you need further assistance or have more questions, feel free to ask!NIСК
12/16/2024, 7:12 PMVapi
12/16/2024, 7:12 PMNIСК
12/16/2024, 7:12 PMVapi
12/16/2024, 7:13 PMNIСК
12/16/2024, 7:13 PMAiTitus :)
12/16/2024, 8:58 PMAiTitus :)
12/16/2024, 8:58 PMAiTitus :)
12/16/2024, 8:58 PMAiTitus :)
12/16/2024, 8:59 PMChowderr
12/16/2024, 9:07 PMEric Chong | HSFM
12/16/2024, 9:33 PMAiTitus :)
12/17/2024, 5:58 AMNIСК
12/18/2024, 3:49 PMAiTitus :)
12/18/2024, 3:57 PMAiTitus :)
12/18/2024, 3:58 PMChowderr
12/18/2024, 4:24 PMAiTitus :)
12/18/2024, 4:46 PMNIСК
12/18/2024, 4:54 PMAiTitus :)
12/18/2024, 5:10 PM