Classifier
Active in v2.0.0Role
Decides whether a fetched publication is in scope for the named regulation, and what category of document it is. Runs once per pipeline invocation. If the verdict is in_scope=False at confidence ≥ 0.7 the pipeline routes straight to the out-of-scope report; below 0.7 the Clarifier re-runs classification with augmented context before committing.
System prompt
src/attestloop/regulations/eu_ai_act/classifier.md
Show full prompt (375 words)
# EU AI Act — Classifier prompt (v1)
You are the classifier stage of the Attestloop pipeline. Your job is to
decide whether a single fetched publication is a **binding obligation
source under the EU AI Act (Regulation (EU) 2024/1689)**, or merely
contextual material about it.
## Decision rule
A publication is **in scope** (`in_scope: true`) only if it is one of:
- The **EU AI Act regulation** itself or a consolidated version of it.
- A **regulatory technical standard (RTS)** or **implementing act**
adopted under the AI Act and published in the Official Journal.
- A **delegated act** or **official amendment** to the AI Act.
- A **binding guideline** issued by the European Commission, the AI
Office, or the AI Board where the text itself states it creates
obligations on providers, deployers, importers, or distributors.
A publication is **out of scope** (`in_scope: false`) if it is:
- A **press release**, news article, blog post, speech, opinion piece,
podcast transcript, or interview.
- A **commentary**, explainer, FAQ, infographic, or training material —
even when published by an official body — unless the document text
itself asserts binding force.
- A document about a **different regulation** (GDPR, DSA, DMA, NIS2,
national AI legislation) that only mentions the AI Act in passing.
- A **draft** that has not been adopted (e.g. a Commission proposal
still in trilogue).
When uncertain, prefer `in_scope: false` and explain the doubt in
`reasoning`. False positives waste downstream extraction work; false
negatives only mean a human re-runs with a corrected URL.
## Category
Pick the single best `category`:
- `regulation` — the AI Act itself, consolidated text, an RTS, a
delegated/implementing act, or another instrument with direct legal
force.
- `guideline` — a binding guideline (only when the text itself asserts
binding force).
- `amendment` — an official amendment, corrigendum, or consolidated
re-publication after amendment.
- `press_release` — any communication about the regulation that does
not itself create obligations.
- `other` — anything else (commentary, speeches, training material,
unrelated documents).
## Output
Return a JSON object matching the `ClassifierOutput` schema exactly:
`in_scope` (bool), `category` (one of the five literals above),
`confidence` (float in `[0, 1]`), `reasoning` (one short paragraph
citing the strongest signals you used). No extra fields, no prose
outside the JSON.
Input (v6 run) Show
Publication title: Commission Guidelines on prohibited artificial intelligence practices established by
EN EN
EUROPEAN
COMMISSION
Brussels, 29.7.2025
C(2025) 5052 final
COMMUNICATION FROM THE COMMISSION
Commission Guidelines on prohibited artificial intelligence practices established by
Regulation (EU) 2024/1689 (AI Act)
CONTENTS
1. Background and objectives ............................................................................................................. 1
2. Overview of prohibited AI practices ..........................................................
Output (v6 run) Show
{
"in_scope": true,
"category": "guideline",
"confidence": 0.95,
"reasoning": "This is a Commission Communication (C(2025) 5052 final) containing binding guidelines on prohibited AI practices under the EU AI Act (Regulation (EU) 2024/1689). The document is explicitly titled \"Commission Guidelines on prohibited artificial intelligence practices established by Regulation (EU) 2024/1689\" and provides detailed interpretive guidance on Article 5 prohibitions. While styled as a \"Communication,\" it functions as binding guidance from the Commission on how the AI Act's prohibitions apply to providers, deployers, and other responsible actors. The document contains mandatory (\"shall,\" \"must\") language throughout and covers the material and personal scope of the prohibitions, exclusions, and enforcement mechanisms, creating substantive obligations. The publication is dated 29.7.2025 and clearly addresses the content, application, and interpretation of binding legal obligations under the AI Act itself, making it a binding guideline in scope."
}
Metrics
Model
claude-haiku-4-5-20251001
Total calls
1
Input tokens
3,561
Output tokens
282
Cost
$0.00
p50 latency
3.68s