1
00:00:06,600 --> 00:00:12,400
One message can trigger many decisions. Where should it go? How urgent is
it? What happens next?

2
00:00:12,640 --> 00:00:18,240
Basal is a family of typed decision models. You define the context, question
and possible answers.

3
00:00:18,387 --> 00:00:24,160
The model scores the options. The engine turns those scores into a result
your application can use.

4
00:00:24,440 --> 00:00:29,120
We will explore ten schemas, from a simple choice to verification and data
extraction.

5
00:00:29,267 --> 00:00:35,760
The four newest tasks are experimental engine 2.1 extensions. They do not
need a separate model for each task.

6
00:00:35,912 --> 00:00:41,520
JSON will show exactly what we send and receive. Bars will explain the
probabilities.

7
00:00:42,000 --> 00:00:46,000
The numbers in this film are educational examples, not recorded model
measurements.

8
00:00:47,767 --> 00:00:54,607
Start with the architecture. Our application sends an HTTP request to an
inference server, for example on our own computer.

9
00:00:54,967 --> 00:01:05,647
The path is slash v1 slash systemone. The same endpoint is also available at
slash v1 slash basal.

10
00:01:06,287 --> 00:01:15,007
The state field contains the data. Questions contains named questions. Their
names connect results to application code.

11
00:01:15,247 --> 00:01:23,807
The engine prepares model tasks, reads option scores and applies the
relevant calibration. It then builds the JSON response.

12
00:01:23,914 --> 00:01:31,007
The model selects and scores. The engine calculates and organizes. The
application decides whether to act.

13
00:01:31,234 --> 00:01:37,087
This separation matters: a model result is not yet a payment or a sent
email.

14
00:01:39,600 --> 00:01:46,840
A customer says: the wardrobe arrived late, its door is cracked, and I want
a refund. What answer does the system need?

15
00:01:47,100 --> 00:01:54,680
Choice means one selection. Criteria contains keys and descriptions: refund,
replacement or information.

16
00:01:54,933 --> 00:02:00,360
We define the classes in the request. They can change without training a
separate classifier.

17
00:02:00,840 --> 00:02:08,040
Here, refund receives ninety-four percent. The other options share the
remainder. The total is one hundred percent.

18
00:02:08,347 --> 00:02:16,840
Use choice for routing, document type or selecting one rule. Include an
insufficient-data option when needed.

19
00:02:17,024 --> 00:02:24,120
Format-two models support up to two hundred and fifty-five options. The
engine can impose a lower limit.

20
00:02:25,900 --> 00:02:31,700
Now ask one specific thing: does the customer report damaged goods? This is
a noul question.

21
00:02:32,180 --> 00:02:37,940
We send the type and a clear question. Optionally, we can describe what yes
and no mean.

22
00:02:38,140 --> 00:02:44,500
A noul value of 0.97 means a ninety-seven percent probability of yes.

23
00:02:44,860 --> 00:02:50,900
At 0.03, the model would strongly favor no. That would not simply mean
uncertainty.

24
00:02:51,420 --> 00:02:58,260
Use this schema for single conditions: is an attachment missing, is a reply
needed, does a document state a deadline?

25
00:02:58,420 --> 00:03:03,620
Avoid combining several independent conditions into one question. We will
see a better way shortly.

26
00:03:05,400 --> 00:03:11,680
Urgency is not always yes or no. We can define three levels: low, medium and
high.

27
00:03:12,110 --> 00:03:18,960
Score takes level descriptions in ascending order. Here, their indices are
zero, one and two.

28
00:03:19,173 --> 00:03:24,960
The model gives five percent to low, twenty-eight to medium and sixty-seven
to high.

29
00:03:25,120 --> 00:03:32,080
The engine computes a weighted mean: 1.62. This is a position on the scale,
not a probability.

30
00:03:32,400 --> 00:03:39,440
This scale helps sort a ticket queue or assess answer quality. Each level
needs a concrete meaning.

31
00:03:39,570 --> 00:03:45,760
The score does not replace the distribution. Two situations can have the
same mean but different uncertainty.

32
00:03:47,533 --> 00:03:54,693
Our complaint concerns damage, delay and a refund at the same time. Choosing
just one label would lose information.

33
00:03:54,853 --> 00:04:01,733
Multi turns the label list into separate yes-or-no questions over the same
context.

34
00:04:01,986 --> 00:04:07,253
A threshold of 0.5 selects labels whose probability is at least one half.

35
00:04:07,653 --> 00:04:14,133
The bars are independent: ninety-six, ninety and ninety-two percent can all
occur together.

36
00:04:14,293 --> 00:04:18,693
They do not sum to one hundred percent. The result is a set of labels.

37
00:04:18,783 --> 00:04:26,933
Minimum and maximum constrain set size. You can also optimize the set for F1
or exact match.

38
00:04:27,413 --> 00:04:34,053
One ticket can feed several relevant workflows, with less custom multi-label
selection logic.

39
00:04:35,900 --> 00:04:40,260
Now for basal’s own extensions to the original System One protocol. We have

40
00:04:40,540 --> 00:04:46,500
already seen multi. The next schemas move entire tasks into the engine,
simplifying integration.

41
00:04:46,753 --> 00:04:53,030
Consider extracting an invoice number. Built from basic choice questions,
the application first asks which document

42
00:04:53,060 --> 00:04:58,180
line to select. Only after that answer can it construct the second question:
which span to select.

43
00:04:58,620 --> 00:05:06,420
With basal, the application sends one extract request. The engine runs both
rounds and returns the value with its source position.

44
00:05:06,940 --> 00:05:10,500
In this workflow, one application request replaces two.

45
00:05:10,780 --> 00:05:13,300
We reduce communication and integration code.

46
00:05:13,860 --> 00:05:19,780
The two model rounds are still needed. Time and cost differences must be
measured across the whole workflow.

47
00:05:21,567 --> 00:05:27,207
Suppose a refund is justified with ninety-six percent probability. Should we
pay it immediately?

48
00:05:27,447 --> 00:05:35,367
Act adds costs. A mistaken payment costs twelve hundred zloty, a wrongful
refusal three hundred, and human review fifteen.

49
00:05:35,607 --> 00:05:43,447
The engine multiplies probabilities by costs. Payment has an expected cost
of forty-eight zloty; refusal, two hundred and eighty-eight.

50
00:05:43,927 --> 00:05:49,687
Human review is therefore cheapest. The most likely outcome does not
necessarily imply the best action.

51
00:05:49,794 --> 00:05:58,007
Max error adds a separate confidence gate. Without an appropriately
validated threshold, automatic action is withheld.

52
00:05:58,180 --> 00:06:04,327
This schema is experimental. The business sets costs; the application still
controls execution and permissions.

53
00:06:06,033 --> 00:06:12,073
An agent should not run every tool each time. Should it first look up the
order or hand the case to a consultant?

54
00:06:12,293 --> 00:06:20,313
Tool accepts OpenAI, MCP or Anthropic tool definitions. The model sees
names, parameters and descriptions.

55
00:06:20,453 --> 00:06:26,233
The result identifies a tool and its probabilities. We can also request a
ranking or a set of tools.

56
00:06:26,393 --> 00:06:32,633
Extra options allow a direct answer, a clarification question or no suitable
tool.

57
00:06:32,873 --> 00:06:39,833
Basal selects the tool. It does not generate its arguments or execute it.
Code or the agent handles that.

58
00:06:40,253 --> 00:06:45,913
We gain a fast, explicit decision point in the agent loop. This schema is
experimental too.

59
00:06:47,767 --> 00:06:54,287
We do not need to send the same complaint four times. Category, damage,
urgency and labels can be asked together.

60
00:06:54,487 --> 00:06:59,007
Each question has its own name and type. The response preserves those names.

61
00:06:59,260 --> 00:07:05,727
SOAM means state once, ask many: the shared state is computed and reused
across question branches.

62
00:07:06,047 --> 00:07:13,327
The fast engine separates context processing from branches. One HTTP request
does not always mean one physical forward pass.

63
00:07:13,527 --> 00:07:20,447
Eager is the reference path and does not provide this speedup. More
questions still add computation.

64
00:07:20,700 --> 00:07:27,887
Questions in a batch are independent. If the first result determines the
next options, the application sends a second request.

65
00:07:28,007 --> 00:07:32,847
One model can therefore serve classifiers that change dynamically throughout
the workflow.

66
00:07:34,633 --> 00:07:38,753
Now for four new tasks: experimental extensions in engine version 2.1.

67
00:07:38,969 --> 00:07:45,393
The first task is classification, named classify in the interface. Each
label has explicit criteria.

68
00:07:45,753 --> 00:07:51,633
We send labels and a rubric for each. The field named none adds the option:
none of the above.

69
00:07:51,833 --> 00:07:58,433
The engine builds the response from one-label or multi-label selection. We
receive the chosen names and their scores.

70
00:07:58,601 --> 00:08:05,553
Automated contains null: automation eligibility is unknown when no
thresholds have been validated for the task.

71
00:08:05,726 --> 00:08:12,833
This is useful for intent, document or ticket catalogs. Classification
policy becomes part of the API contract.

72
00:08:12,953 --> 00:08:18,033
This is not a new model. It standardizes how we ask the question and
interpret the answer.

73
00:08:19,800 --> 00:08:25,920
A system has described an invoice. Before saving that description, let us
check three claims against the original.

74
00:08:26,140 --> 00:08:33,360
Verify receives named claims. Each becomes a separate decision over the same
source.

75
00:08:33,613 --> 00:08:40,640
The amount of twelve hundred and thirty is supported. Thirty-day terms
contradict the stated fourteen days.

76
00:08:40,863 --> 00:08:47,120
Whether the invoice is paid is not stated. Missing information is different
from a contradiction.

77
00:08:47,267 --> 00:08:54,320
This can check extracted fields, summary sentences or a RAG answer. Each
claim gets its own result.

78
00:08:54,413 --> 00:08:59,200
The model checks agreement with the source. It does not prove that the
source itself is true.

79
00:09:01,067 --> 00:09:07,507
The document has many paragraphs, but we only need payment terms. Why send
all of it to the next model?

80
00:09:07,707 --> 00:09:15,427
Compress scores each sentence, line or paragraph for relevance. We provide a
question and a length budget.

81
00:09:15,567 --> 00:09:21,987
The engine keeps selected fragments in their original order. It copies parts
rather than writing a new summary.

82
00:09:22,147 --> 00:09:27,027
The result includes shorter text, indices and a relevance probability for
each unit.

83
00:09:27,287 --> 00:09:34,147
The next stage receives less context. Filtering also has a cost: every unit
is a question.

84
00:09:34,307 --> 00:09:40,947
For long documents, prefer paragraphs and check that necessary conditions
remain. The limit is six hundred units.

85
00:09:42,733 --> 00:09:50,373
Now turn the invoice into a record. We send a JSON schema: number, amount,
payment method and paid status.

86
00:09:50,933 --> 00:09:57,333
For text, the engine first asks: which line contains the value? Then: which
span in that line is correct?

87
00:09:57,533 --> 00:10:03,493
These are two selection rounds. The model points to existing text instead of
inventing an invoice number.

88
00:10:03,773 --> 00:10:12,213
The engine copies the span and records its position. It parses amounts as
numbers and selects enum values as categories.

89
00:10:12,520 --> 00:10:20,613
Missing payment information gives null. Objects can be nested; arrays of
strings and invoice line items are not yet supported.

90
00:10:21,093 --> 00:10:27,653
Text-field confidence multiplies line and span probabilities. That product
is not a separately certified guarantee.

91
00:10:27,933 --> 00:10:35,013
We gain data linked to its source. Free-text extraction works on state, not
directly on an image.

92
00:10:36,933 --> 00:10:42,573
A small model may make an arithmetic error even when it understands a
document. We separate calculation from interpretation.

93
00:10:42,773 --> 00:10:50,173
Facts auto is a request-level option. For recognized Polish dates and
amounts, code adds computed facts to the context.

94
00:10:50,493 --> 00:10:56,653
A thousand zloty net plus twenty-three percent VAT gives twelve hundred and
thirty gross. Code computes that.

95
00:10:56,893 --> 00:11:01,133
The model question then determines how those facts relate to the text and
workflow rules.

96
00:11:01,866 --> 00:11:08,653
Facts is neither another answer type nor a legal interpreter. It supports
recognized patterns, not every possible formula.

97
00:11:09,213 --> 00:11:12,413
For important accounting operations, we still validate inputs and results in
code.

98
00:11:14,267 --> 00:11:20,707
A label tells us what was selected. Sometimes we also want to highlight
supporting text. That is what evidence is for.

99
00:11:20,934 --> 00:11:27,827
It is a question option, not a separate type. The answer can contain text
spans, offsets and a probability score.

100
00:11:28,347 --> 00:11:33,267
This feature requires a dedicated evidence head. It is available in
supported 1.5 models.

101
00:11:33,440 --> 00:11:40,387
Current 2.0 and omni models do not ship that head. The server rejects such a
request rather than pretending to support it.

102
00:11:41,067 --> 00:11:49,267
Evidence helps with audits and source highlighting. Verify checks claims;
extract selects values. They are different tasks.

103
00:11:49,814 --> 00:11:54,067
A supporting span is not a complete explanation of the model’s internal
reasoning.

104
00:11:55,833 --> 00:12:02,913
The basal omni family adds image and audio inputs. We can assess damage in a
photo or the content of a short call.

105
00:12:03,273 --> 00:12:10,913
The media field contains the type and encoded data. The question still uses
a familiar schema, such as noul or multi.

106
00:12:11,193 --> 00:12:16,753
Binary data is abbreviated on screen. A real request must include the
complete content.

107
00:12:16,921 --> 00:12:23,953
Video is prepared as selected frames and separate audio. This contract has
no dedicated video-type field.

108
00:12:24,353 --> 00:12:28,433
Support depends on the model and on enabling media in the server.

109
00:12:28,713 --> 00:12:36,513
We gain a consistent way to query different sources. That does not imply
equal quality or calibration across modalities.

110
00:12:36,649 --> 00:12:41,793
We test images, audio and text separately on data from our own workflow.

111
00:12:43,667 --> 00:12:52,187
In basal, confidence is the selected answer’s probability. Calibration aims
to align those numbers with observed accuracy.

112
00:12:52,280 --> 00:12:59,307
We fit an automation threshold on data and check it on separate examples. A
target error is not a guarantee for one decision.

113
00:12:59,507 --> 00:13:08,027
Max error 0.05 does not mean setting confidence to ninety-five percent. A
validated task-and-model threshold is needed.

114
00:13:08,407 --> 00:13:15,147
Without a suitable threshold, act and tool withhold automatic action. The
2.1 tasks report automated null.

115
00:13:15,387 --> 00:13:22,187
Collect correct labels and measure two things: how much is automated and how
many errors remain in that group.

116
00:13:22,247 --> 00:13:27,707
That test turns an attractive confidence bar into an informed deployment
decision.

117
00:13:29,800 --> 00:13:36,720
The core System One interface comes from TypeSafe. Jev documents choice,
noul and score, plus experimental box.

118
00:13:37,300 --> 00:13:44,480
Basal preserves the core request and response shape, adding multi, act, tool
and four task schemas.

119
00:13:44,707 --> 00:13:51,520
Our engine’s differentiator is ready-made contracts and shared handling,
reducing custom implementation in each application.

120
00:13:51,920 --> 00:14:00,640
Format compatibility does not imply identical capabilities. Extensions
require basal, and confidence semantics differ across providers.

121
00:14:01,107 --> 00:14:06,960
The official client SDKs have not been tested here. Integration is checked
at the HTTP and JSON level.

122
00:14:07,200 --> 00:14:14,720
Box returns an object’s image coordinates. We do not implement it currently;
our focus is workflow decisions.

123
00:14:14,960 --> 00:14:22,240
Other tools can build similar workflows. We compare built-in API schemas,
not exclusive ownership of the underlying idea.

124
00:14:24,000 --> 00:14:30,280
Let us connect the pieces. A document arrives. Classify identifies its type,
and extract prepares system fields.

125
00:14:30,480 --> 00:14:38,280
Code checks amounts and required fields. Verify compares claims with the
original document. Act selects an action using costs.

126
00:14:38,800 --> 00:14:46,040
If we need a summary, compress selects context, Bielik writes text, and
verify checks its sentences against the original.

127
00:14:46,280 --> 00:14:51,960
Basal does not become a text generator. Each component does the job it is
designed for.

128
00:14:52,440 --> 00:14:58,600
We gain less integration code, explicit results and a controlled handoff to
a person.

129
00:14:58,880 --> 00:15:06,280
Measure time and cost savings across the whole workflow. A new schema
simplifies construction but does not eliminate computation.

130
00:15:08,067 --> 00:15:16,427
One answer: choice. One condition: noul. An ordered rating: score. Several
labels: multi.

131
00:15:16,857 --> 00:15:23,867
A cost-aware action: act. Tool selection: tool. Labels with rubrics:
classify.

132
00:15:24,067 --> 00:15:30,987
Check claims: verify. Select passages: compress. Structured data: extract.

133
00:15:31,294 --> 00:15:37,227
Choose a schema, define what its answers mean, send data and evaluate
results on your own examples.

134
00:15:37,547 --> 00:15:45,627
Validate experimental types before deployment. Complete JSON examples and
explanations are available beside the film.

135
00:15:46,027 --> 00:15:51,387
Basal. A family of typed decision models, developed for Polish.

136
00:15:51,640 --> 00:15:57,827
You define the question. The model scores. The engine assembles the result.
Your application stays in control.
