jordanstubb.
08/13/2024, 3:29 PMVapi
08/13/2024, 3:30 PMVapi
08/13/2024, 3:30 PMjavascript
vapi.on("message", (msg) => {
if (msg.type === "transcript") {
// Here you can handle the transcript message
// For example, update the UI with the transcript in real-time
}
});
This will allow you to see the transcription as the conversation is happening. You do not have to wait until after the call ends to see the transcription.Sahil
08/15/2024, 12:59 AM