Overview of the LLM Integration Process
audio WebSocket
.
llm_websocket_url
you provided in the agent.
interaction_type
in our json. If it is response_required
, you need to send the response. After receiving your response, we have our model to check if AI should speak
audio websocket
. Meanwhile, We will send you json with interaction_type
as update_only
. You don’t need to update but you can get the transcript from the json body.
openai
/ azure openai
, how to start a LLM websocket
server,
and how to use Twilio to make phone calls with Retell agents programmatically.