Interface: DatabricksLanguageModelOptions
Inputs required to construct one request-scoped Databricks language model.
Properties
Section titled “Properties”fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Fetch implementation used by the provider.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
headers
Section titled “headers”headers:
Readonly<Record<string,string>>
Fresh request-scoped Databricks authentication headers.
host:
string
Databricks workspace host.
modelId
Section titled “modelId”modelId:
string
Resolved Databricks serving endpoint id.
protocol
Section titled “protocol”protocol:
DatabricksLanguageModelProtocol
Native protocol used to invoke the endpoint.
providerName?
Section titled “providerName?”
optionalproviderName?:string
Provider-options namespace. Defaults to openai or anthropic.