Function: searchModels()
searchModels(
client,host,input?):Promise<object[]>
Rank a workspace’s catalogue in one call: list its /serving-endpoints
(cached) and run rankModels over the result. The list counterpart to
selectModel, for a consumer that wants the full ranked set (a model
picker, a CLI) rather than a single id. Catalogue fetches fail loud: network
/ auth errors propagate so the caller sees the real SDK message.
Parameters
Section titled “Parameters”client
Section titled “client”string
Workspace host used as the cache key. Pass the value resolved
from client.config.getHost().
input?
Section titled “input?”SearchModelsInput = {}
Returns
Section titled “Returns”Promise<object[]>