Skip to content

RealtimeContextData

type RealtimeContextData<TContext> = TContext & object;

The context data for a realtime session. This is the context data that is passed to the agent. The RealtimeSession will automatically add the current snapshot of the history to the context.

history: RealtimeItem[];
Type Parameter Default type

TContext

unknown