MCPcopy Index your code
hub / github.com/OpenPipe/OpenPipe / getComparisonModelName

Function getComparisonModelName

app/src/utils/comparisonModels.ts:28–32  ·  view source on GitHub ↗
(key: ComparisonModel)

Source from the content-addressed store, hash-verified

26};
27
28export const getComparisonModelName = (key: ComparisonModel) => {
29 const model = Object.entries(COMPARISON_MODEL_NAMES).find(([id]) => id === key);
30 if (!model) return null;
31 return model[1].name;
32};
33
34export const getComparisonModelSlug = (key: ComparisonModel) => {
35 const model = Object.entries(COMPARISON_MODEL_NAMES).find(([id]) => id === key);

Callers 2

EvaluationFiltersFunction · 0.90
getModelTitleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected