Transcription of calls
# support
j
Where do I find the transcription of the conversation from my bot? Can I see the transcription in real time or do I have to wait until after the call ends to see the transcription?
v
You can continue this conversation by mentioning me in the message.
@jordanstubb. You can find the transcription of the conversation from your bot in real-time as messages are sent to the Server URL, including transcript messages. These messages are also sent to the client as message events. To handle transcription events and view them as they occur, you can use the following code snippet:
Copy code
javascript
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.
s
^ @jordanstubb.
3 Views