MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / isComparisonModelName

Function isComparisonModelName

app/src/utils/comparisonModels.ts:12–13  ·  view source on GitHub ↗
(modelName: string)

Source from the content-addressed store, hash-verified

10 ComparisonModel[modelId as keyof typeof ComparisonModel] !== undefined;
11
12export const isComparisonModelName = (modelName: string) =>
13 Object.values(COMPARISON_MODEL_NAMES).some((model) => model.name === modelName);
14
15export const COMPARISON_MODEL_NAMES: Record<ComparisonModel, { name: string; slug: string }> = {
16 GPT_3_5_TURBO: { name: "gpt-3.5-turbo-1106", slug: "GPT-3.5 Turbo (-1106)" },

Callers 3

useMappedModelIdFiltersFunction · 0.90
createFineTuneFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected