Skip to main content

Interface: LibraryGroup

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:165

One group the caller hands: its id, the items the caller's own rule admits, its fingerprint, and the part kinds that narrow it.

Properties​

fingerprint​

fingerprint: string

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:177

The caller's name for this list as it stands, any text that is not empty: a cursor keeps the one its page was made under, and a later page handed another answers restart. The index compares it and never computes it.


id​

id: string

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:167

The group's name in the answer, one per group of a search.


items​

items: LibraryGroupItem[]

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:172

The items the search may read, each once: the search reads the passages of these sources and no other, for a match, a count, a rank or a stored word to widen to. An empty list finds nothing, without a call to the store.


partKinds?​

optional partKinds: LibraryPartKind[]

Defined in: packages/agentos/src/cognition/library/LibraryIndex.ts:179

Only the passages whose partKind is one of these; an empty list narrows nothing.