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

How should a developer handle BankFile IDs to ensure they are unique?

A BankFile ID is not unique across all files. The import script adds a unique key to each ID. Developers must not add this key to the ID in the JSON.

By Pawan Nayar · from the LLOS AI Learning record

The rule

A BankFile ID is not unique across all files.

The import script adds a unique key to each ID. Developers must not add this key to the ID in the JSON.

BankFile IDs are not globally unique. The same ID pattern can appear in different sections or files. An import script automatically adds a unique BankFile key to each ID. This makes the ID unique. A developer must not add this key to the ID in the JSON data.

A developer creates a JSON file with a BankFile ID like 'q_ch01_c01_s1_D_001'. The import tool processes this file. The tool adds a unique BankFile key, for example, 'BankFileA::'. The final ID becomes 'BankFileA::q_ch01_c01_s1_D_001'. If the developer had added 'BankFileA::' to the ID in the JSON, the ID would become 'BankFileA::BankFileA::q_ch01_c01_s1_D_001', which is incorrect.

Words you'll need

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

Data Integrity

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

Questions people ask

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

How can a developer manage and run AI pipeline scripts effectively?

A developer needs to know the purpose of each script. A developer must understand what output each script creates.

How should an AI model store its data for better performance?

An AI model should use a database like SQLite for all data storage. This means all information, such as images or text, is saved in the database.

How should an AI model handle storing the origin of words?

An AI model should never save word origins on a user's device. The server is the single source of truth for this data.

How can an AI model create many quiz questions quickly and efficiently?

An AI model uses a 'stem engine' to build quiz questions. This engine takes parts of sentences and turns them into question ideas.

What to remember

A BankFile ID is not unique across all files. The import script adds a unique key to each ID. Developers must not add this key to the ID in the JSON.