Skip to main content
When you call client.judge(), you get back a Ruling object containing the verdict and all supporting evidence.

Example

Top-level verdict

The overall verdict is conservative:
  • SUPPORTS - all statements are supported
  • REFUTES - any statement is refuted
  • NOT_ENOUGH_INFO - otherwise
In this example, the claim about San Francisco has no evidence, so the overall verdict is NOT_ENOUGH_INFO.

Statements

Each claim is decomposed into individual statements:
The span attribute maps back to the original claim:
statement.text is not necessarily identical to claim[span[0]:span[1]]. Gateway may rephrase for clarity—for example, “The sky is clear and blue” might yield a statement with text “The sky is blue” while the span points to the full original phrase.

Influences

Each statement’s verdict is based on evidence from your sources:
Output:

Locating evidence in sources

For TextInfluence objects, the span attribute gives the exact character positions: