Llm
Parameters
Name of the LLM model.
Name of the LLM vendor.
Webhook that will be called when the LLM session ends.
Object containing authentication credentials; format according to the model.
Object containing information such as the URI to connect to.
Webhook that will be called when a requested LLM event happens (e.g., transcript).
Array of event names listing the events requested (wildcards allowed).
Object containing instructions for the LLM; format dependent on the LLM model.
Webhook that will be called when the LLM wants to call a function.
The following LLMs are currently supported:
- OpenAI Realtime API
- Deepgram Voice Agent
- Ultravox
- ElevenLabs
- Google Gemini Live API
Google Gemini Live
Set vendor: 'google' and supply a Gemini Live model (for example models/gemini-2.0-flash-live-001 or models/gemini-3.1-flash-live-preview). llmOptions.setup is forwarded verbatim to Google’s BidiGenerateContentSetup message after the websocket connects.
Google-specific llmOptions fields
The BidiGenerateContentSetup object sent to Gemini right after the websocket connects. The model field is populated automatically from the verb’s model parameter. generationConfig.responseModalities is forced to audio.
Optional proactive greeting. When set, jambonz sends a text message to Gemini immediately after setup so the agent speaks first without waiting for the caller to speak. Accepts either a string or an object with a text field. The value is an instruction to the model, not the literal words — for example "Greet the caller warmly" rather than "Hello, how can I help?".
Implemented using realtimeInput.text so it works on both the 2.0 Live models and gemini-3.1-flash-live-preview. (On 3.1, clientContent is reserved for seeding history and does not trigger a model response, which is why realtimeInput.text is used.)
Enable session resumption. Pass {} to opt in, or { handle: "..." } to resume a previous session. Resumption handles are delivered back to the application via llm_event sessionResumptionUpdate messages.
Example Applications
Please checkout the following example applications:
- for OpenAI
- for Deepgram
- for Ultravox
- for ElevenLabs
- for Google Gemini