Skip to main content

Interface: TagDocument

Defined in: packages/agentos/src/cognition/library/tags.ts:154

A document the vocabulary and the suggester read: a note, a kept session, or a document.

Properties​

changedAt​

changedAt: number | null

Defined in: packages/agentos/src/cognition/library/tags.ts:171

When it last changed (a note's or a document's latest change, a session's start), in milliseconds since 1970, or null.


id​

id: string

Defined in: packages/agentos/src/cognition/library/tags.ts:156

Its id, unique among the documents.


keywords​

keywords: readonly string[]

Defined in: packages/agentos/src/cognition/library/tags.ts:164

A note's keywords; none for a session or a document.


kind​

kind: "session" | "document" | "note"

Defined in: packages/agentos/src/cognition/library/tags.ts:158

A note, a kept session, or a document a person keeps (a file, a page, a sheet).


tags​

tags: readonly string[]

Defined in: packages/agentos/src/cognition/library/tags.ts:169

Its tags; each is read through classifyLegacyTag: a tag or an alias counts under its key, and a label left unresolved (C++, budget.) or with no key is left out, never counted under its candidate key.


text​

text: string

Defined in: packages/agentos/src/cognition/library/tags.ts:162

Its text: a note's, a kept session's report lines and the person's notes on it, or a document's text.


title​

title: string

Defined in: packages/agentos/src/cognition/library/tags.ts:160

Its title.