Interface: DocumentMetadata
Defined in: packages/agentos/src/memory/facade/types.ts:620
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/memory/facade/types.ts:625
Primary author of the document.
createdAt?
optionalcreatedAt:string
Defined in: packages/agentos/src/memory/facade/types.ts:640
ISO 8601 creation timestamp.
language?
optionallanguage:string
Defined in: packages/agentos/src/memory/facade/types.ts:637
ISO 639-1 language code detected in the document.
Example
'en' | 'de' | 'fr'
modifiedAt?
optionalmodifiedAt:string
Defined in: packages/agentos/src/memory/facade/types.ts:643
ISO 8601 last-modified timestamp.
pageCount?
optionalpageCount:number
Defined in: packages/agentos/src/memory/facade/types.ts:628
Number of pages (PDF/DOCX).
source?
optionalsource:string
Defined in: packages/agentos/src/memory/facade/types.ts:646
Original file path or URL the document was loaded from.
title?
optionaltitle:string
Defined in: packages/agentos/src/memory/facade/types.ts:622
Document title extracted from front-matter or PDF info dict.
wordCount?
optionalwordCount:number
Defined in: packages/agentos/src/memory/facade/types.ts:631
Approximate word count of the full document text.