Interface: GenieChatOptions
Options accepted by both genieChat and genieEventChat.
Properties
Section titled “Properties”context?
Section titled “context?”
optionalcontext?: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.
conversationId?
Section titled “conversationId?”
optionalconversationId?: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.
pollIntervalMs?
Section titled “pollIntervalMs?”
optionalpollIntervalMs?:number
Poll cadence in milliseconds between successive getMessage calls (default 500).
workspaceClient?
Section titled “workspaceClient?”
optionalworkspaceClient?: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.