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
| Parameter | Type |
|---|---|
locale | string | undefined |
Returns
string