Skip to main content

Interface: ClaimVerdict

Defined in: packages/agentos/src/cognition/rag/citation/types.ts:27

Verdict for a single verified claim.

Properties

confidence

confidence: number

Defined in: packages/agentos/src/cognition/rag/citation/types.ts:33

Cosine similarity to best-matching source (0-1).


sourceIndex?

optional sourceIndex: number

Defined in: packages/agentos/src/cognition/rag/citation/types.ts:35

Index of the best-matching source in the input array.


sourceRef?

optional sourceRef: string

Defined in: packages/agentos/src/cognition/rag/citation/types.ts:39

Source URL or file path.


sourceSnippet?

optional sourceSnippet: string

Defined in: packages/agentos/src/cognition/rag/citation/types.ts:37

The matching source fragment (truncated to 200 chars).


text

text: string

Defined in: packages/agentos/src/cognition/rag/citation/types.ts:29

The atomic claim text.


verdict

verdict: ClaimVerdictKind

Defined in: packages/agentos/src/cognition/rag/citation/types.ts:31

Verification verdict.


webVerified?

optional webVerified: boolean

Defined in: packages/agentos/src/cognition/rag/citation/types.ts:41

True if this claim was verified via web search fallback.