AI data: purpose, provenance, copies, and privacy
Study-time guide: 15 min reading and analysis, 65 min core exercises, 40 min review and deliverable. Additional external-platform execution is estimated separately.
Lesson 1. Follow one message through the system
A company wants a support assistant. A user writes a message, the application adds ticket context, a model produces a response, and the system stores history. The message can pass through an API, logs, analytics storage, and an external provider. Draw that path before discussing “we do not train on data.” No training does not mean no transfer, retention, or support access.
Training changes model parameters using data. Inference processes input with a selected model. RAG retrieves additional documents and supplies context. These stages have different copies and lifecycles. Deleting the source does not establish deletion of an index, history, cache, or trained state. A deletion promise must match architecture and a verifiable procedure rather than a single interface button.
Lesson 2. Review purpose and provenance
A dataset needs owner, origin, permitted purpose, collection date, sensitivity, and review conditions. Purpose metadata should come from an approved process rather than a field freely supplied by the uploader. Synthetic evaluation data permits demonstrations without real correspondence. A pseudonym such as customer-17 can remain linkable through other information. Removing an email does not establish anonymity for the complete text.
A message might omit names while describing a rare occupation, treatment date, and order number. An email pattern check misses this context. Regular expressions can check a particular format rather than guarantee absence of personal data. Evaluate a filter using approved examples with known omissions and false positives. Use fictional jobs, dates, and identifiers for training.
Practice: check metadata admission
Save this as data_admission.py and run Python 3. It models admission locally; it is neither a legal decision nor an automatic text classifier. reviewed and purposes assume trusted review metadata, whose authenticity this example does not verify.
def admitted(record, purpose):
purposes = record.get('purposes')
return record.get('reviewed') is True and isinstance(purposes, list) and purpose in purposes
records = [
{'id':'synthetic-01','reviewed':True,'purposes':['evaluation']},
{'id':'unreviewed-02','reviewed':False,'purposes':['evaluation']},
{'id':'service-only-03','reviewed':True,'purposes':['service-response']}
]
selected = [r['id'] for r in records if admitted(r, 'evaluation')]
assert selected == ['synthetic-01']
assert not admitted(records[0], 'training')
print('reviewed purpose boundary checked on synthetic metadata')
The first dataset is admitted only for evaluation. The second lacks completed review. The third has another purpose that does not expand merely because a team wants training data. Remove the purpose condition in a separate copy and rerun the forbidden training case; this negative control should detect the defect. Record actual output and scope: the model checks metadata, not contents or applicable processing grounds.
Map copies of synthetic-01: original, processed file, RAG index, cache, log, and evaluation report. Give each a location, permissions, retention, and deletion or restriction process. Remove the original row from the map and identify remaining copies. Actual deletion needs completion checks and documented exceptions across the chosen systems. One API success does not establish deletion everywhere.
Lesson 3. External models and a Russian project
Before using an external API, establish recipient, service mode, contract, region, retention, model-improvement usage, and support access. An enterprise label does not settle all these questions. Coordinate applicable processing and location requirements with the data owner and legal function. Local processing also requires protection because internal databases and logs can disclose data.
A system prompt is not a password store or the only copy of sensitive policy. A model’s refusal to reveal text does not replace secret management and server controls. Minimize context: a ticket-status response does not require every client’s full history. Explaining the necessity of each field supports both privacy and response quality.
Deliverable
Submit flow and copy maps, the admission check, three boundary cases, and unknown provider conditions. Assign an owner and evidence source to each unknown. Include deletion criteria covering index and cache, and reject a new purpose for service-only data without review. Consult NIST’s GenAI Profile and OWASP LLM Top 10 2026. Record editions and verification dates; their recommendations do not automatically become legal obligations for every Russian organization.
Review metadata authority separately: who creates approvals, changes purposes, and preserves history? An uploader must not self-assign reviewed status. If a dataset was admitted incorrectly, identify jobs and copies using it. Correcting one metadata row does not undo completed processing; assess consequences along the actual data flow and agreed procedure.
Where to put a check
Change the conditions and observe this training model. It runs in your browser and does not change your computer.
A team is preparing a release. Enable the independent checks and see what remains unknown.
Choose conditions above to see an explanation of the result.
Independent exercise · Russian

В ноябре 2026 года служба ремонта испытывает помощника, который относит заявки к одному из шести видов неисправностей. Руководитель смены предлагает отдать для проверки качества всю выгрузку из диспетчерской.
Evidence
В выгрузке 240 заявок. У 180 описание составлено методистом по учебному справочнику, у 60 скопировано из рабочих переписок. Верный класс подтверждён мастером только для 150 учебных примеров. Номер заказа присутствует во всех строках. Тестовый шлюз по умолчанию сохраняет тело запроса в журнале на семь дней.
Assignment
Определите состав первой проверки, поля на входе модели и место хранения эталонного ответа. Предложите способ убедиться, что после изменения шлюза в журнал больше не попадает описание.
Compare your reasoning
Возьмите 150 учебных описаний с подтверждённым классом. Передайте модели описание, а эталон сверьте отдельно. Уберите номер заказа. Для остальных 30 учебных записей запросите разметку, 60 рабочих оставьте вне испытания. Отправьте синтетическую фразу-маркер и проверьте журнал по идентификатору запроса: событие есть, тела сообщения нет. Ранее сохранённые копии требуют отдельной проверки.
Personal practice environment
Check an excerpt, find matching lines and compute the SHA-256 of the original text. Temporary data expires after 30 minutes or when you close the environment.
Sign in