Streaming transcript instead of full message
# support
f
I am facing similar issue call id : 9956079c-db54-4bbc-95e5-8a2a4f9ca10c and when i set interim_results it gives this error from vapi {"message":["transcriber.property interim_results should not exist"],"error":"Bad Request","statusCode":400}% Avocado charm. Avocado charm. And club sandwich. Avocado charm. And club sandwich. and so onnnnnnnnn.... i have set smart endpointing to 500 but didnt work #1211483291191083018 @Vapi
v
Hi there! I see you're having trouble with streaming transcripts and getting an error when trying to use
interim_results
. Let me help you with that! 👋 Unfortunately, I can't provide specific information about your call ID, but I can definitely help with the error you're encountering and suggest alternatives for streaming transcripts. The error message
"transcriber.property interim_results should not exist"
indicates that Vapi doesn't directly support the
interim_results
property in its API. According to information I found in [Discord discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333747605628391434), this property isn't expected by the API endpoint you're using. As for setting smart endpointing to 500, this might not directly solve your streaming transcript issue. Smart endpointing is designed to detect when a customer has finished speaking, even during pauses, but it doesn't control how transcripts are delivered. Here are some alternative methods to get streaming/partial transcripts in Vapi: 1. **Configure server messages to include "transcript"**:
Copy code
json
   {
       "serverMessages": [
           "transcript",
           "end-of-call-report"
       ]
   }
This will send real-time transcripts to your server via webhooks with the
transcriptType
field indicating if it's "final" or partial. [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341440757189578782) 2. **Use the ClientMessageTranscript event**: You can use this event and check the
transcriptType
property to differentiate between partial and final transcripts. [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1260258706667343892) 3. **Adjust the
waitSecond
parameter**:
Increasing
waitSecond
to 0.8 might help reduce issues with streaming transcripts. [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336360452208332831) 4. **Consider a custom transcriber**: Integrating a custom transcriber like Deepgram can provide real-time partial and final transcripts. [Source](https://docs.vapi.ai/documentation/advanced-concepts/customization/custom-transcriber) Would you like more details on any of these approaches to implement streaming transcripts in your Vapi application? Sources: - [Discord discussion about interim_results error](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333747605628391434) - [Discord discussion about server messages for transcripts](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341440757189578782) - [Discord discussion about ClientMessageTranscript event](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1260258706667343892) - [Discord discussion about waitSecond parameter](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336360452208332831) - [Vapi documentation on custom transcriber](https://docs.vapi.ai/documentation/advanced-concepts/customization/custom-transcriber)
k
Hey, we don't expose the property
interimResults
for transcriber, that's why when you pass them, it gives you an error message. Just remove it and try again; it will work.
f
the thing is i want to have final speech only not results like Avocado charm. Avocado charm. And club sandwich. Avocado charm. And club sandwich. and so
i am using vapi for calls not as web sdk with custom llm
i dont see any parameter which helps me enable something like final transcription
how i can do that?
k
i cannot see that call ID. can you send another one that is valid please? if final speech is being spaced out, it could be interrupted by background noise or some possible formatting
f
9956079c-db54-4bbc-95e5-8a2a4f9ca10c
here it is
k
f
all calls are doing this
k
Hey, sorry for your bad experience. We only keep call logs for two weeks. Could you share a recent call ID with a partial transcript? Partial transcript server messages must be enabled in your assistant server settings. You can toggle them there. If you want me to continue, share a new call ID. https://cdn.discordapp.com/attachments/1358195736352788620/1366166115469889577/image.png?ex=680ff4d8&is=680ea358&hm=5458da4f625fe331c1e701579be585d384deaebc69820add5ac9e25b9a77ee80&
5 Views