1
00:00:01,000 --> 00:00:04,410
This accompanies our article on OpenAI integration.

2
00:00:05,320 --> 00:00:08,490
How do you make a model response useful in software that

3
00:00:08,520 --> 00:00:12,250
needs predictable fields and controlled follow-up actions?

4
00:00:12,680 --> 00:00:15,650
A fictional application receives a fault report.

5
00:00:15,880 --> 00:00:18,610
The model proposes a category and summary.

6
00:00:18,840 --> 00:00:22,650
However, the report does not contain a valid equipment reference for

7
00:00:22,680 --> 00:00:23,930
subsequent processing.

8
00:00:24,520 --> 00:00:29,050
The application sends only necessary text, receives a proposal and

9
00:00:29,080 --> 00:00:30,610
validates the output.

10
00:00:30,920 --> 00:00:35,930
Only after the agreed review may an authorised next step change another system.

11
00:00:36,760 --> 00:00:40,210
Document permitted fields, types and values.

12
00:00:40,520 --> 00:00:43,210
Specify what missing information means.

13
00:00:43,480 --> 00:00:47,850
Additional fields or an unknown category are not silently accepted as

14
00:00:47,880 --> 00:00:49,690
valid input for the application.

15
00:00:50,520 --> 00:00:54,490
A correctly structured response can invent an equipment reference or

16
00:00:54,520 --> 00:00:56,210
misrepresent the fault.

17
00:00:56,520 --> 00:01:00,490
Check its meaning against the input and relevant records, separately

18
00:01:00,520 --> 00:01:02,010
from validating its structure.

19
00:01:02,680 --> 00:01:05,810
A model cannot replace missing authorisation.

20
00:01:06,120 --> 00:01:09,170
The application checks the user and business rules.

21
00:01:09,400 --> 00:01:13,050
Without a valid equipment match, this report goes to a reviewer

22
00:01:13,240 --> 00:01:15,650
rather than automatic execution.

23
00:01:16,040 --> 00:01:19,850
Record refusals, limits and timeouts against the task.

24
00:01:20,360 --> 00:01:23,050
Identify who follows up unfinished work.

25
00:01:23,720 --> 00:01:28,010
Monitor usage and total response time without unnecessarily retaining

26
00:01:28,040 --> 00:01:29,210
the original input.

27
00:01:30,040 --> 00:01:34,130
Start with representative examples and known expected checks.

28
00:01:34,440 --> 00:01:39,015
Test changes to prompts, model selection or tool definitions before

29
00:01:39,040 --> 00:01:43,050
the revised version influences everyday operational work.

30
00:01:43,480 --> 00:01:47,050
An integration involves more than a successful API call.

31
00:01:47,640 --> 00:01:51,850
Our source article on OpenAI integration explains how output

32
00:01:51,880 --> 00:01:57,050
validation, data processing and error handling form an application feature.
