it_verify_citations
Verifies Italian legal citations from a text against Normattiva and the Constitutional Court index, confirming existence and content, and suggesting valid ranges for missing articles.
Instructions
Verify Italian legal citations found in a text against their real sources.
Extracts statute citations ("art. 2043 c.c.", "art. 5 della legge 241/1990", "artt. 1341 e 1342 c.c.", commi) and ECLIs, then checks each: statutes against the live Normattiva act (does the act resolve? does the article exist?), ECLI:IT:COST against the local Constitutional Court index. A parenthetical description right after a citation is content-checked with a trigram match (mismatch = review signal). Non-existent articles come back with a range hint of what DOES exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | the text to verify (an LLM answer, a memo, a contract clause). | |
| max_citations | No | cap on citations to verify (1..30, default 15). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | No | ||
| total | Yes | ||
| status | Yes | ||
| summary | Yes | ||
| citations | No | ||
| dataset_note | No | Source: Normattiva (Ministero della Giustizia / Istituto Poligrafico e Zecca dello Stato). Italian official legal texts are outside copyright (art. 5 l. 633/1941); Normattiva additionally declares CC-BY-4.0 for its data (from 2026-01-01). Text is the consolidated (multivigenza) version as in force today unless 'at_date' is given. Bulk reuse of the database is restricted by Normattiva's terms - this connector relays individual acts on request, with attribution and a source_url. | |
| failed_count | Yes | ||
| warning_count | Yes | ||
| verified_count | Yes |