Function: classifyByFamily()
classifyByFamily(
name):FamilyClass|null
Best-effort chat capability band for an endpoint we have no live
score for, keyed off provider family and the well-known variant words
in the name (opus/sonnet/haiku, pro/mini/nano,
flash/flash-lite, Llama parameter sizes, etc). Returns null for
names we don’t recognize so unknown custom endpoints are never
auto-selected as a default. The accompanying rank orders siblings
within a class. Only ever returns a chat band - embedding endpoints
are classified by task, not name.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”FamilyClass | null