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
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.
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.
A developer needs to know the purpose of each script. A developer must understand what output each script creates.
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.
An AI model should never save word origins on a user's device. The server is the single source of truth for this data.
An AI model uses a 'stem engine' to build quiz questions. This engine takes parts of sentences and turns them into question ideas.
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.