Package org.mockserver.llm.realtime


package org.mockserver.llm.realtime
  • Class
    Description
    Pure event codec for the Google Gemini Live API (BidiGenerateContent over WebSocket).
    Pure event codec for the OpenAI Realtime API (GA 2025 event protocol), spoken over a WebSocket at wss://api.openai.com/v1/realtime.
    A single scripted realtime WebSocket event: the fully-rendered JSON text frame the mock will send to the client, plus the delay (milliseconds) to wait before sending it.
    The response modality a scripted realtime turn is rendered as.
    The realtime (voice / bidirectional WebSocket) LLM protocols MockServer can mock.
    Deterministic streaming-timing model for realtime WebSocket event codecs — the WebSocket-transport analogue of the SSE StreamingPhysics used by the HTTP LLM codecs.
    A provider-neutral description of one scripted assistant response in a realtime voice session — the realtime analogue of Completion.