WebSocket API client
Ultravox is a multimodal LLM that understands text and human speech without separate ASR. It converts audio to LLM’s high-dimensional space, responding faster than systems with separate ASR and LLM components.
You can integrate Ultravox WebSocket API client in your Voximplant application via the Ultravox VoxEngine module. It provides you a client interface to communicate with Ultravox models in real time and produce both audio and text transcriptions.
Usage
- Require the
Modules.Ultravox
module in your VoxEngine scenario. - Create a
Ultravox.WebSocketAPIClient
instance (via theUltravox.createWebSocketAPIClient
method) and provide your parameters. - Send media between
Call
andUltravox.WebSocketAPIClient
(via the*.sendMedia
orVoxEngine.sendMediaBetween
methods). - Listen to the
Ultravox.WebSocketAPIClient
events (via theUltravox.WebSocketAPIEvents
event list) and implement you application business logic.
Here is the complete scenario example for your reference:
Ultravox WebSocketAPI client