check_citations_in_text
Extract all Chinese law article citations from a text and verify each against a local database. Returns invalid or fabricated citations to help detect model-generated false references.
Instructions
抽取一段文本中的所有《法律》第 N 条引用并逐条核验,返回不存在的引用清单。
把模型生成的答案整段传进来,即可发现其中编造的引用。
Args: text: 待检查的文本(例如模型输出的一段法律分析)。
Returns: total / valid / invalid 计数,以及逐条核验结果。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |