Skip to main content

PrincipalMemoryEntry

@forge/monorepo


@forge/monorepo / backend/src / PrincipalMemoryEntry

Type Alias: PrincipalMemoryEntry

PrincipalMemoryEntry = object

Defined in: backend/src/principal-memory/index.ts:18

Properties

createdAt

readonly createdAt: string

Defined in: backend/src/principal-memory/index.ts:27


disabledAt?

readonly optional disabledAt?: string

Defined in: backend/src/principal-memory/index.ts:30

Set when the user disables the entry; disabled entries are never retrieved for prompts.


id

readonly id: string

Defined in: backend/src/principal-memory/index.ts:19


principalId

readonly principalId: string

Defined in: backend/src/principal-memory/index.ts:21


salience

readonly salience: number

Defined in: backend/src/principal-memory/index.ts:25

Higher wins when retrieval is budget-limited.


tags

readonly tags: readonly string[]

Defined in: backend/src/principal-memory/index.ts:23


tenantId

readonly tenantId: string

Defined in: backend/src/principal-memory/index.ts:20


text

readonly text: string

Defined in: backend/src/principal-memory/index.ts:22


updatedAt

readonly updatedAt: string

Defined in: backend/src/principal-memory/index.ts:28


version

readonly version: number

Defined in: backend/src/principal-memory/index.ts:26