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). 0 and not a score when scored is false.
scored?
optionalscored:false
Defined in: packages/agentos/src/cognition/rag/citation/types.ts:38
False when no cosine was computed: with pickOnly and a single source, the source is named without an embedding
and confidence is 0. Left out when the verdict was scored.
sourceIndex?
optionalsourceIndex:number
Defined in: packages/agentos/src/cognition/rag/citation/types.ts:40
Index of the best-matching source in the input array.
sourceRef?
optionalsourceRef:string
Defined in: packages/agentos/src/cognition/rag/citation/types.ts:44
Source URL or file path.
sourceSnippet?
optionalsourceSnippet:string
Defined in: packages/agentos/src/cognition/rag/citation/types.ts:42
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?
optionalwebVerified:boolean
Defined in: packages/agentos/src/cognition/rag/citation/types.ts:46
True if this claim was verified via web search fallback.