Skip to content

Commit 9f541ff

Browse files
feat: allow arbitrary answer and response types
1 parent 6f4cb33 commit 9f541ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { z } from 'zod'
22

33
export const EvaluationFunctionRequestData = z
44
.object({
5-
answer: z.string(),
6-
response: z.string(),
5+
answer: z.any(),
6+
response: z.any(),
77
params: z.record(z.string(), z.any()),
88
})
99
.strict()

0 commit comments

Comments
 (0)