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

Function typedDatasetEntryInput

app/src/types/dbColumns.types.ts:30–34  ·  view source on GitHub ↗
(
  input: T,
)

Source from the content-addressed store, hash-verified

28 .passthrough();
29
30export const typedDatasetEntryInput = <T extends Pick<DatasetEntryInput, "messages">>(
31 input: T,
32): Omit<T, "messages"> &
33 // @ts-expect-error zod doesn't type `passthrough()` correctly.
34 z.infer<typeof datasetEntryInput> => datasetEntryInput.parse(input);
35
36const datasetEntryOutput = z
37 .object({

Callers 5

FormattedInputFunction · 0.90
ExpandableRowFunction · 0.90
EvaluationRowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected