Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/reranker-transformersjs / pickRerankerModel

Function: pickRerankerModel()

ts
function pickRerankerModel(locale): string;

Defined in: packages/reranker-transformersjs/src/model-selection.ts:35

Pick a reranker model from the agent locale. Pure function so callers (and tests) can pre-resolve the choice without constructing the reranker.

Parameters

ParameterType
localestring | undefined

Returns

string

Stable