Function: rankModelId()
rankModelId(
endpoints,search,options?):object
Resolve the closest model id in one catalogue snapshot.
Parameters
Section titled “Parameters”endpoints
Section titled “endpoints”readonly object[]
search
Section titled “search”string
options?
Section titled “options?”requiresTools?
Section titled “requiresTools?”boolean = ...
threshold?
Section titled “threshold?”number = ...
Returns
Section titled “Returns”object
matched
Section titled “matched”matched:
boolean
modelId
Section titled “modelId”modelId:
string
score?
Section titled “score?”
optionalscore?:number