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

Function useDatasetEval

app/src/utils/hooks.ts:413–419  ·  view source on GitHub ↗
(refetchInterval?: number)

Source from the content-addressed store, hash-verified

411};
412
413export const useDatasetEval = (refetchInterval?: number) => {
414 const router = useRouter();
415 return api.datasetEvals.get.useQuery(
416 { id: router.query.id as string },
417 { enabled: !!router.query.id, refetchInterval },
418 );
419};
420
421export const useDatasetEvals = () => {
422 const selectedProjectId = useSelectedProject().data?.id;

Callers 5

ViewTestOutputButtonFunction · 0.90
SettingsFunction · 0.90
DeleteEvalDialogFunction · 0.90
ResultsFunction · 0.90
EvalFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected