WEBVTT

00:00:01.290 --> 00:00:02.301
Hi, I'm Fudge!

00:00:02.301 --> 00:00:06.345
This model builds whole screens without writing a single token of interface.

00:00:06.345 --> 00:00:07.019
Here's how.

00:00:09.808 --> 00:00:12.541
The idea: the model never writes the interface.

00:00:12.541 --> 00:00:14.933
It picks from options your code enumerated.

00:00:18.525 --> 00:00:20.295
A generating model writes the tree.

00:00:20.295 --> 00:00:24.129
It can name components you don't have, so it needs a repair pass.

00:00:24.549 --> 00:00:27.323
A decision model only returns keys you offered.

00:00:27.323 --> 00:00:30.791
Props come from your own recipes, so nothing needs repair.

00:00:32.675 --> 00:00:37.226
You write the candidates: fully configured elements, with props, state and actions.

00:00:37.226 --> 00:00:38.744
The playground has forty-two.

00:00:39.164 --> 00:00:41.667
The composer turns them into multiple-choice questions.

00:00:41.667 --> 00:00:45.243
Jev sees an id and a description, never the props.

00:00:45.663 --> 00:00:48.091
Jev answers with keys it was offered.

00:00:48.091 --> 00:00:50.867
Its maximum output is listed as zero tokens.

00:00:51.287 --> 00:00:55.760
The composer copies each chosen recipe into the spec, and your registry renders it.

00:00:57.192 --> 00:01:00.912
Round one asks which elements the screen needs, one question per

00:01:00.912 --> 00:01:02.264
group of rival candidates.

00:01:02.684 --> 00:01:04.137
A preview streams right away.

00:01:05.170 --> 00:01:09.062
Round two asks each element's parent slot and its place among siblings.

00:01:09.482 --> 00:01:12.877
Parallel answers can still form a cycle, so the whole tree

00:01:12.877 --> 00:01:14.111
is checked before publishing.

00:01:15.758 --> 00:01:18.565
On the docs' dashboard prompt: eight elements, two calls.

00:01:18.565 --> 00:01:20.748
The count doesn't grow with the screen.

00:01:22.425 --> 00:01:24.601
The cost moved into the request.

00:01:24.601 --> 00:01:28.590
Every candidate adds six hundred sixty-eight point six bytes, every call.

00:01:28.590 --> 00:01:31.129
So the context window caps your catalog.

00:01:32.475 --> 00:01:37.208
When the model only chooses, components, props and actions are yours by construction.

00:01:37.208 --> 00:01:39.028
You pay by enumerating them.

00:01:40.525 --> 00:01:44.386
To recap: the model picks keys, two rounds build the screen, and

00:01:44.386 --> 00:01:45.994
the catalog rides every call.

00:01:46.414 --> 00:01:48.410
Every source is in the full article.

00:01:48.410 --> 00:01:48.980
I'm Fudge.

00:01:48.980 --> 00:01:49.265
Bye!
