A developer must follow strict rules for data output. These rules include exact variable names, data format, and content requirements. Following these rules ensures the data works correctly with existing systems.
By Pawan Nayar · from the LLOS AI Learning record
A developer must follow strict rules for data output.
These rules include exact variable names, data format, and content requirements. Following these rules ensures the data works correctly with existing systems.
The AI model needs specific variable names. These include `<PREFIX>_GLOSSARY`, `<PREFIX>_FAQ`, and `<PREFIX>_QUESTIONS`. The output must be plain JavaScript arrays. No markdown or extra text around the code is allowed. The AI model does not accept placeholders or generic phrases. Emoji quality is important; do not use `?` or broken symbols.
A developer is creating a glossary for a calculator application. The developer must use the variable name `CALCULATOR_GLOSSARY`. The glossary must have at least 25 items. Each item needs a `term`, an `emoji`, and a `definition`. If the developer uses a different variable name, the application will not find the glossary data.
Resolved from this lesson's own record — real definitions, not invented for this page.
More from the same record, pulled by shared topic — not written new for this page.
The system highlights words in a sentence. It uses a list of words to find matches.
The AI model's internal data structure needs to be reviewed. The data that defines a 'voice' or style should be separated.
A developer needs to run a specific command to rebuild the cards. This command uses a Python script.
A developer must treat mobile and desktop as two separate apps. They should use media queries to define distinct CSS layouts for each.
A developer must follow strict rules for data output. These rules include exact variable names, data format, and content requirements. Following these rules ensures the data works correctly with existing systems.