({
projectId,
output,
}: {
projectId: string;
output: ChatCompletionMessage;
})
| 83 | }; |
| 84 | |
| 85 | export 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 | |
| 98 | export const hashAndSaveDatasetEntryOutput = async ({ |
| 99 | projectId, |
no test coverage detected