Skip to content

Interface: DatabricksLanguageModelOptions

Inputs required to construct one request-scoped Databricks language model.

optional fetch?: (input, init?) => Promise<Response>

Fetch implementation used by the provider.

string | URL | Request

RequestInit

Promise<Response>


headers: Readonly<Record<string, string>>

Fresh request-scoped Databricks authentication headers.


host: string

Databricks workspace host.


modelId: string

Resolved Databricks serving endpoint id.


protocol: DatabricksLanguageModelProtocol

Native protocol used to invoke the endpoint.


optional providerName?: string

Provider-options namespace. Defaults to openai or anthropic.