Skip to main content

AiReviewCitation

A page-level source link for one answer item. The part of the demo a judge probes.

type AiReviewCitation {
itemIndex: Int!
pageNumber: Int!
claimedPageNumber: Int
sourcePassage: String!
anchorStart: String!
anchorEnd: String!
verified: Boolean!
pageCorrected: Boolean!
}

Fields​

AiReviewCitation.itemIndex ● Int! non-null scalar​

Zero-based index of the answer item this citation supports.

AiReviewCitation.pageNumber ● Int! non-null scalar​

Where the passage was actually found. This is what the viewer link uses.

AiReviewCitation.claimedPageNumber ● Int scalar​

What the model said. Kept when it differed, because a model that is systematically one page out is a prompt bug, not a per-cell accident.

AiReviewCitation.sourcePassage ● String! non-null scalar​

Verbatim document text, capped at 400 characters. The document's words.

AiReviewCitation.anchorStart ● String! non-null scalar​

First and last few words of the passage. The viewer highlights by searching for this phrase pair and taking the closest match, because OCR gives us page-level text with no character offsets to anchor on.

AiReviewCitation.anchorEnd ● String! non-null scalar​

AiReviewCitation.verified ● Boolean! non-null scalar​

Whether the passage was actually found on that page at extraction time. Machine verification. The human equivalent is AiReviewCell.accepted.

AiReviewCitation.pageCorrected ● Boolean! non-null scalar​

Whether we moved the page after the model reported a different one.

Member Of​

AiReviewCell object