Learn AI. Do. Grow.
← All modules

Deep dive · module 90 of 100

AI in production: reliability

Ensure that a AI application remains reliable when it is actually being used.

After this lesson

You can name three points of attention for a AI application in production.

In view · An improvement loop

Reliability remains work

  1. Check normal cases, errors, and similar input.

  2. Watch for deviations, loss of quality, and alerts.

  3. Stop, recover, or use an alternative if quality is insufficient.

Remember: An application also requires checking after the initial delivery. Open het volledige schema ↗

Error handling

What happens if the AI service is unavailable or returns an error?

Consistency

Does the system provide similar output for similar input?

Monitoring

How do you know if the quality is declining in practice?

New practice example

From explanation to a usable result.

A reliable application must also react predictably when input, model or connection fails.

Fictional practice situation

Fictitious: an internal assistant is temporarily unable to retrieve documents. The model itself is accessible.

View a possible solution

This is how it can be done

Have the application report that the source check is currently not possible. Provide a safe follow-up step, such as trying again later or opening the manual itself, instead of producing an unverified answer.

Why this works

Accessibility of the model is not the same as usability of the full service. Make errors visible and recoverable.

Make it slightly more difficult

Write three error scenarios and note per scenario what the user sees and which action is halted.

Extra practice, at your own pace. You do not need to submit anything. This does not count towards an automatic assessment.

Your workplace · learning by doing

Make something. See what changes.

Ende, your light pink practice buddy

The fictitious source is included. Only when selecting ‘Let Ende answer’ do you send your assignment to the AI service. Do not use private data.

Checking the AI connection… You can already view the written example.

Your result

No answer yet

Present your assignment to Ende.
Read the answer, change one thing, and compare.

You remain in control

What do you want to improve in your next attempt?

My own check

On this device only. AI answers remain only in this page memory. This is self-review, not a grade.

Why this approach works

Accessibility of the model is not the same as usability of the full service. Make errors visible and recoverable.

A step further

Write three error scenarios and note per scenario what the user sees and which action is halted.

Try & discover · no obligation

Control an agent with a control port

Try to send before the check. Then also test a missing source or a malfunction.

Test the fictitious workflow

Choosing a different situation starts a new test and clears the previous approval.

The agent is waiting. You choose which step to test.
  1. Retrieve source
  2. Check draft
  3. Execute action
Starttoestand
Noapproval for this concept

What is happening?

  1. No source has been retrieved yet. Feel free to try the submit button first.

All tools, queues and submissions have been simulated. No message is sent and no external service is called.

This trial works locally with fictitious data and does not count towards your lesson completion. It starts anew with a new lesson or reload.

A prompt to get you started

Name three things to watch out for when moving a AI application from experiment to production.

Apply it

A AI service works in a demonstration, but sometimes responds too slowly for the production environment.

Which approach best fits this situation?

  • Test load, timeouts, error messages, and a working alternative route.
  • Only publish based on the successful demonstration.
  • Let users wait indefinitely without notification.

With JavaScript, you can check your approach and receive immediate feedback.

Test your insight

What is an important point of attention for AI in production?

  • What happens if the AI service is unavailable.
  • Only the speed.
  • Nothing, it works automatically.
Extra practice

Choose an application and note one risk to reliability and how you would address it.

Risk: the AI service is sometimes slow. Approach: a timeout and a fallback to a human queue.

A question? I'll help you on your way.

Drag Aldo to move it. Use the arrow keys on Aldo with the keyboard, Enter to save the position and Escape to cancel.