Skip to content

Class: DatabricksModelRegistry

Model registry backed by the active AppKit execution context.

new DatabricksModelRegistry(options?): DatabricksModelRegistry

ModelRegistryOptions = {}

DatabricksModelRegistry

list(): Promise<object[]>

Promise<object[]>

ModelRegistry.list


refresh(): Promise<void>

Promise<void>

ModelRegistry.refresh


resolve(model, options?): Promise<{ aliases: string[]; capabilities: { aiGatewayCodex: boolean; anthropic: boolean; chat: boolean; customTools: boolean; embeddings: boolean; openResponses: boolean; parallelTools: boolean; reasoning: boolean; responses: boolean; streaming: boolean; structuredOutput: boolean; tools: boolean; webSearch: boolean; }; displayName: string; endpoint?: { class?: "chat-thinking" | "chat-balanced" | "chat-fast" | "embedding"; description?: string; dimension?: number; displayName?: string; family?: string; modelServiceName?: string; name: string; profile?: { cost?: number; quality?: number; speed?: number; }; reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; serviceNames?: Record<string, string>; state?: string; status?: { deprecated: boolean; }; supportsTools?: boolean; task?: string; }; family?: string; id: string; modelServiceName?: string; reasoningEfforts: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; } | undefined>

string | undefined

ModelRegistryResolveOptions = {}

Promise<{ aliases: string[]; capabilities: { aiGatewayCodex: boolean; anthropic: boolean; chat: boolean; customTools: boolean; embeddings: boolean; openResponses: boolean; parallelTools: boolean; reasoning: boolean; responses: boolean; streaming: boolean; structuredOutput: boolean; tools: boolean; webSearch: boolean; }; displayName: string; endpoint?: { class?: "chat-thinking" | "chat-balanced" | "chat-fast" | "embedding"; description?: string; dimension?: number; displayName?: string; family?: string; modelServiceName?: string; name: string; profile?: { cost?: number; quality?: number; speed?: number; }; reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; serviceNames?: Record<string, string>; state?: string; status?: { deprecated: boolean; }; supportsTools?: boolean; task?: string; }; family?: string; id: string; modelServiceName?: string; reasoningEfforts: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; } | undefined>

ModelRegistry.resolve


search(query): Promise<object[]>

string

Promise<object[]>

ModelRegistry.search