Interface: DocumentMetadata
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:671
Arbitrary key-value metadata attached to a loaded document. Well-known fields are typed explicitly; any additional fields are allowed.
Indexable
[key: string]: unknown
Any additional metadata fields from the source document.
Properties
author?
optionalauthor:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:676
Primary author of the document.
createdAt?
optionalcreatedAt:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:691
ISO 8601 creation timestamp.
language?
optionallanguage:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:688
ISO 639-1 language code detected in the document.
Example
'en' | 'de' | 'fr'
modifiedAt?
optionalmodifiedAt:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:694
ISO 8601 last-modified timestamp.
pageCount?
optionalpageCount:number
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:679
Number of pages (PDF/DOCX).
source?
optionalsource:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:697
Original file path or URL the document was loaded from.
title?
optionaltitle:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:673
Document title extracted from front-matter or PDF info dict.
wordCount?
optionalwordCount:number
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:682
Approximate word count of the full document text.