Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
AI and LLM engineering
/
LLM application basics
A model response is valid JSON and matches its response schema. What must happen before i…
from LLM application basics
Node 24
intermediate
1 min
A model response is valid JSON and matches its response schema. What must happen before it can trigger a refund?
Application code must authenticate, authorize, validate business rules, and make retries idempotent.
Nothing; schema validity grants permission for the action.
The model should repeat the same answer once.
The JSON should be frozen with Object.freeze().
Check
Ask AI about this kata
Report an error
previous kata
Spot the bug in the response parser
Spot the bug
A new version is available
Reload