Interface: DocumentMetadata
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:820
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:825
Primary author of the document.
createdAt?
optionalcreatedAt:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:840
ISO 8601 creation timestamp.
language?
optionallanguage:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:837
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:843
ISO 8601 last-modified timestamp.
pageCount?
optionalpageCount:number
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:828
Number of pages (PDF/DOCX).
source?
optionalsource:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:846
Original file path or URL the document was loaded from.
title?
optionaltitle:string
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:822
Document title extracted from front-matter or PDF info dict.
wordCount?
optionalwordCount:number
Defined in: packages/agentos/src/cognition/memory/io/facade/types.ts:831
Approximate word count of the full document text.