Step 1: Define the input and output contract with runtime validation
Action · 1 of 7
Loading your progress…
This is your own confirmation. OneAISpace does not check your work, and you can change it any time.
Loading workflows…
Guided build · Version 1
Step 1 of 7
Progress: Loading…
Progress is saved in this browser only, on this device. Sign in to keep it across devices; what you have done so far will be added to your account.
Action · 1 of 7
Loading your progress…
This is your own confirmation. OneAISpace does not check your work, and you can change it any time.
import { z } from "zod" export const resultSchema = z.object({ answer: z.string().min(1), sources: z.array(z.string().url()).max(10),})