Skip to content

Interface: RememberRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RememberRequest

Defined in: src/types/memory.ts:187

Request to store a memory.

The engine refuses an unknown body key with 422.

optional contentPolicy?: MemoryContentPolicy

Defined in: src/types/memory.ts:216

The policy that screens the text. Defaults to general.


optional details?: string | null

Defined in: src/types/memory.ts:214

Longer content, returned by a recall that asks for details.


optional embed?: boolean

Defined in: src/types/memory.ts:223

Embed the memory for dense recall when the engine has an embedding model.


optional fact?: MemoryFact | null

Defined in: src/types/memory.ts:221

The fact the memory asserts, when it states one feature of one entity. It is reconciled with the facts recorded for the same subject and attribute.


optional importance?: number | null

Defined in: src/types/memory.ts:201

Importance in 0.0..=1.0. Defaults to 0.5. Stored exactly as sent and returned unchanged by recall. When the write merges into an existing memory (outcome updated), this value replaces that memory’s importance. A value outside the range, or a non-finite one, is refused with 400. Not allowed with reinforce.


optional kind?: string | null

Defined in: src/types/memory.ts:212

The memory kind: decision, error_fix, discovery, procedure, preference or pattern. Defaults to discovery; another name is 400.


optional ledgerCommitment?: string | null

Defined in: src/types/memory.ts:229

That scope’s seal commitment (64-hex SHA-256).


optional ledgerScope?: string | null

Defined in: src/types/memory.ts:227

The audit-ledger scope (UUID) the memory was lifted from.


optional personal?: boolean

Defined in: src/types/memory.ts:36

The caller’s own memory instead of the tenant’s.

MemoryScope.personal


optional projectId?: string | null

Defined in: src/types/memory.ts:38

A project inside the tenant the caller can see.

MemoryScope.projectId


optional reinforce?: boolean

Defined in: src/types/memory.ts:207

State no importance: a new memory starts at the default, a merge into a similar memory raises its importance, and an exact duplicate changes nothing. With importance: 400.


optional source?: string | null

Defined in: src/types/memory.ts:231

Optional source identifier; the engine appends it as a src:<source> tag.


summary: string

Defined in: src/types/memory.ts:193

The memory text to store. Must not be empty or whitespace, and the memory policy caps it at 500 characters; the engine refuses either with 400 and stores nothing.


optional tags?: string[]

Defined in: src/types/memory.ts:236

Tags used for activation-based retrieval. Encode kind and source here, for example ["prompt", "name:standup-template"].


optional triggers?: string[]

Defined in: src/types/memory.ts:225

Future contexts that surface this memory in a recall (marker TRIGGERED).