Three Rule Types
1. Numerical Conflicts
Detects when two spans discuss the same topic but cite different numbers. Triggers when:- Two spans share enough context (Jaccard similarity >= 0.3)
- They contain different numerical values with the same unit
Span A: “The enterprise discount cap is 15%.” Span B: “The discount cap has been raised to 18%.“
2. Supersession
Detects when newer information explicitly replaces older information. Triggers when:- A span contains language like “supersedes”, “revised to”, “no longer”, “updated to”, “replaced by”
- The spans share at least 15% token overlap
Span A: “Refunds accepted within 30 days.” Span B: “Policy revised to 14-day refund window effective March 1.”
3. Negation Pairs
Detects direct contradictions using opposing language. Triggers when:- Spans contain negation pairs: “will/will not”, “approved/rejected”, “allowed/prohibited”, “can/cannot”
- The spans share at least 15% token overlap
Span A: “The board approved the Q3 expansion.” Span B: “The board rejected the Q3 expansion proposal.”
Conflicts in Receipts
Conflicts appear in the receipt’sconflicts array:
Resolving Conflicts
Use the feedback endpoint withaction: "resolve_conflict" to mark which span is correct: