Skip to main content

Interface: VerificationSource

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

A source document for verification.

Properties​

content​

content: string

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

Source text content.


embedding?​

optional embedding: readonly number[]

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

The source's vector, made by the same model as the claims' vectors. A source that carries one is not sent to embedFn; its length must equal the claims' vectors' length.


title?​

optional title: string

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

Source title or heading.


url?​

optional url: string

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

Source URL or file path.