Custom Transcriber Implementation
# support
d
I found Custom Transcriber in the Schemas of Swagger documentation of VAPI. How can i implement this in VAPI, Where I can provide the URL of custom transcriber. https://cdn.discordapp.com/attachments/1310844234961518722/1310844235267838013/vapi_transcriber.png?ex=6746b253&is=674560d3&hm=6f5db1ed9cb9c1aa384f43e4614345c06387904a534f3d888b3da687c2e122de&
v
@devMax To implement a custom transcriber in VAPI, you would typically need to specify the transcriber settings within your VAPI configuration. If you have a URL for your custom transcriber, you would set the
transcriber.provider
attribute to the URL or identifier of your custom service. However, since you mentioned that Swagger documentation for VAPI does not support circular references, and you're looking to provide a URL for the custom transcriber, it seems like you might be referring to an external service that isn't directly integrated into VAPI. To proceed, I would need to know if VAPI has an option to specify an external transcriber URL directly in its configuration. If it does, you can set the
transcriber.provider
to your custom transcriber's URL. If not, you might need to create a wrapper or an intermediary service that can communicate with your custom transcriber and integrate with VAPI. Could you please provide more details on how you intend to use the custom transcriber with VAPI? Are there specific fields or configuration options in VAPI that you are looking to utilize for this integration?
You can continue this conversation by mentioning me in the message.
d
@Vapi I want to use google transcriber because i am not getting proper spelling of address from the existing transcribers. I am planning to use custom transcriber in a way that VAPI sends voice audio to google transcriber during the call.
v
@devMax To use Google's transcriber with VAPI, you'll need to set up a custom transcriber configuration that points to Google's speech-to-text service. Here's a general outline of the steps you might follow: 1. **Google Cloud Setup**: Ensure you have a Google Cloud account with access to the Speech-to-Text API. Set up a project and obtain the necessary credentials (API key or service account). 2. **VAPI Configuration**: Within your VAPI setup, you'll need to configure the transcriber settings to use your custom transcriber. This typically involves specifying the endpoint URL of the Google transcriber and any necessary authentication details. 3. **Integration**: During a call, VAPI would need to capture the audio and send it to the Google transcriber's endpoint. You would handle the response from Google's service and convert it into a format that VAPI expects. 4. **Error Handling**: Implement error handling for cases where the Google transcriber might not be reachable or returns an error. 5. **Testing**: Thoroughly test the integration to ensure that the audio is being sent correctly and that the transcriptions you receive are accurate. Please note that integrating an external service like Google's transcriber may require custom development work and is not typically a built-in feature of VAPI. You might need to write some code to handle the interaction between VAPI and Google's API. If you need specific instructions or assistance with the code, please let me know, and I can provide further guidance. If VAPI has a built-in method for integrating custom transcribers, you would follow their documentation for that process. If you're unsure about how to proceed or if this feature is supported, please ask support for more info on this.
d
@User @User How can i attach my custom transcriber with vapi?
s
Hey @devMax allow me sometime to write a document on custom transcriber implementation with Vapi.
8 Views