Function: endpointCapabilities()
endpointCapabilities(
endpoint):EndpointCapabilities
Derive an endpoint’s capabilities from its Databricks task hint and its
classified ModelClass, so consumers filter on capability instead of
re-deriving it from raw task / class strings.
Either signal alone is enough: the task hint is authoritative when present, and the class covers endpoints Databricks left untasked but the classifier recognized. Embedding wins over chat when both point at it, since the two are not interchangeable.
Parameters
Section titled “Parameters”endpoint
Section titled “endpoint”class?
Section titled “class?”ChatThinking | ChatBalanced | ChatFast | Embedding = ...
description?
Section titled “description?”string = ...
dimension?
Section titled “dimension?”number = ...
displayName?
Section titled “displayName?”string = ...
string = ...
profile?
Section titled “profile?”{ cost?: number; quality?: number; speed?: number; } = ...
profile.cost?
Section titled “profile.cost?”number = ...
profile.quality?
Section titled “profile.quality?”number = ...
profile.speed?
Section titled “profile.speed?”number = ...
state?
Section titled “state?”string = ...
supportsTools?
Section titled “supportsTools?”boolean = ...
string = ...