L
LLLOS.ai
Career
L
◆ AI Learning · Hard rule

What are the fixed rules for creating data for an AI model?

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

The rule

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.

Words you'll need

Resolved from this lesson's own record — real definitions, not invented for this page.

Data Governance

Rules for who owns and can use data

Feature Engineering

Creating inputs for AI models from raw data

Data Integrity

Your data is correct, complete, and hasn't been tampered with

Data Quality

How clean, complete and trustworthy your training information is

Questions people ask

More from the same record, pulled by shared topic — not written new for this page.

How should I format word lists for highlighting in sentences?

The system highlights words in a sentence. It uses a list of words to find matches.

How can an AI model be fixed to prevent its output from drifting to unintended themes, even when a specific input 'seed' is provided?

The AI model's internal data structure needs to be reviewed. The data that defines a 'voice' or style should be separated.

How does a developer rebuild all cards after making changes to the content?

A developer needs to run a specific command to rebuild the cards. This command uses a Python script.

How can a developer build a mobile view for a web application without breaking the desktop view?

A developer must treat mobile and desktop as two separate apps. They should use media queries to define distinct CSS layouts for each.

What to remember

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.