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

Function hashDatasetEntryOutput

app/src/server/utils/nodes/hashNode.ts:85–96  ·  view source on GitHub ↗
({
  projectId,
  output,
}: {
  projectId: string;
  output: ChatCompletionMessage;
})

Source from the content-addressed store, hash-verified

83};
84
85export const hashDatasetEntryOutput = ({
86 projectId,
87 output,
88}: {
89 projectId: string;
90 output: ChatCompletionMessage;
91}) => {
92 return hashObject({
93 projectId,
94 output: output as unknown as JsonValue,
95 });
96};
97
98export const hashAndSaveDatasetEntryOutput = async ({
99 projectId,

Callers 4

saveResultsFunction · 0.90

Calls 1

hashObjectFunction · 0.85

Tested by

no test coverage detected