WEBVTT

00:00:00.156 --> 00:00:02.368
Five of these six invoice responses pass

00:00:02.380 --> 00:00:04.255
the schema Only one passes all the

00:00:04.267 --> 00:00:06.867
checks Look at customer C one oh

00:00:06.879 --> 00:00:09.704
four The response says Harbor Workshop The

00:00:09.716 --> 00:00:12.853
trusted record says Cedar Workshop Same identifier

00:00:13.238 --> 00:00:15.966
Wrong name The schema checks the fields

00:00:16.111 --> 00:00:18.418
and their types Both names are strings

00:00:18.635 --> 00:00:20.450
so that check alone accepts either name

00:00:21.329 --> 00:00:23.204
Now compare the output with the requested

00:00:23.216 --> 00:00:25.500
customer and the trusted record Check the

00:00:25.512 --> 00:00:27.952
currency Recompute the amount from the line

00:00:27.964 --> 00:00:31.904
items Run all six constructed cases Five

00:00:31.916 --> 00:00:34.032
pass the shape check One is accepted

00:00:34.440 --> 00:00:36.484
These are local teaching fixtures not a

00:00:36.496 --> 00:00:39.999
model benchmark The full diagram prompt and

00:00:40.011 --> 00:00:42.162
runnable example are on with hammad dot

00:00:42.175 --> 00:00:45.059
com Open AI Engineering Field Notes and

00:00:45.071 --> 00:00:46.177
try the invoice lab
