chatoyant.provider
Openai.Make_realtime
OpenAI Realtime WebSocket helper. Events stay provider JSON because the Realtime API evolves quickly; callers can still use typed JSON-schema codecs on top.
chatoyant
chatoyant.core
chatoyant.native
chatoyant.runtime
chatoyant.schema
chatoyant.tokens
chatoyant_ppx
module Ws : Chatoyant_runtime.Effect.WEBSOCKET
type connection = Ws.connection
val default_base_url : string
val connect : realtime_config -> (connection -> 'a) -> ('a, api_error) result
val send_json : connection -> Chatoyant_runtime.Json.t -> (unit, api_error) result
val receive_json : connection -> (Chatoyant_runtime.Json.t, api_error) result
val close : ?code:int -> ?reason:string -> connection -> (unit, api_error) result