Tinker Structured outputs

by Samy (Kondasamy Jayaraman)

Loading Larkspur mini

Larkspur miniOrder 1042 under your schema: Team: list · Status: list · Days to arrive: number.

Chapter 7 of 7

Workbench: Larkspur’s order schema

Time to design the real thing: Larkspur’s order-status schema, for its orders, with what you know about masks, lists, room and what the model can know.

This chapter: Which schema gets a valid and right answer for every order?

About this chapter

You will learn

  • How to choose, field by field, between free text, a list and leaving it to the system
  • Why the model should only fill what it can know
  • How to read validity and correctness side by side

Words you’ll meet

Order system
Larkspur’s database of orders. It knows each order’s status and days to arrive; the model doesn’t.

Step 1 of 3

The knows each order’s status and days, but not its team. The first draft asks the model for every field.

Predict first.

Larkspur mini fills all three fields for each of 4 orders: team and status from lists, days as a number. How many orders come back valid and right?