Skip to content

Interface: GenieChatOptions

Options accepted by both genieChat and genieEventChat.

optional context?: ContextLike

External cancellation. Accepts a WHATWG AbortSignal or a fully-built SDK Context (see databricks.ContextLike). Aborting it cancels every in-flight SDK call and the next inter-poll sleep.


optional conversationId?: string

Seed conversation id. When set, this turn appends to the existing conversation (via createMessage) instead of opening a new one. Use it to thread a multi-turn conversation: read conversation_id off the prior turn’s terminal GenieMessage (or the result event’s payload.conversation_id) and pass it into the next call.


optional pollIntervalMs?: number

Poll cadence in milliseconds between successive getMessage calls (default 500).


optional workspaceClient?: WorkspaceClient$1

Explicit WorkspaceClient. Defaults to AppKit’s per-request execution-context client when AppKit is installed and we’re inside a request; falls back to createWorkspaceClient() (default auth) otherwise.