Examples

List who was there and what they will do

Open in playground →
  • array
  • String lists

Task

List everyone who was at a standup, from its notes.

Challenges

  • Marco is mentioned but was out sick, so he does not belong in attendees. The array takes only the items its instructions ask for.
  • The number of items is not fixed: an array ends when no more items belong in it. minItems and maxItems can bound it.
  • Each item is a typed string, and the items of an array are distinct.

Laying out…

Time 0.31 s · Cost $0.0000044

Generation(
    result={
        'attendees': [
            'Priya',
            'Jun',
            'Leo',
        ],
    },
    thinking={},
    usage=Usage(input_tokens=88, thinking_tokens=0),
)