winterr
10/05/2024, 12:54 AMVapi
10/05/2024, 12:57 AMVapi
10/05/2024, 12:57 AMjson
{
"squad": {
"members": {
"assistant": {
"serverMessages": [
"voice-input",
"transcript"
]
}
}
}
}
With this configuration, only 'voice-input' and 'transcript' messages will be sent to your Server URL. This prevents any system prompts or other messages from being leaked to the frontend.
Remember to implement server-side logic to handle the voice input and transcript data, process it through your custom LLM, and then use a TTS service to return the spoken output to the frontend without exposing any system messages.
If you need further assistance with setting up your server or handling the data flow, please let me know!Shubham Bajaj
10/07/2024, 6:12 PMShubham Bajaj
10/08/2024, 1:55 PMclient -> backend -> vapi
Shubham Bajaj
10/08/2024, 1:55 PM