---
title: "openvibe-sdk/memory · OpenVibe.Services"
canonical: "https://openvibe.services/docs/sdk/memory"
updated: null
---

# openvibe-sdk/memory · OpenVibe.Services

HTML: [openvibe-sdk/memory · OpenVibe.Services](https://openvibe.services/docs/sdk/memory)

# `openvibe-sdk/memory`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

From `types/memory.d.ts` (both). Declarations are shown verbatim.

## type Kind

~~~~
export type Kind = 'preference' | 'fact' | 'project_rule' | 'procedure' | 'decision' | 'lesson';
~~~~

## interface NoteIn

~~~~
export interface NoteIn { text: string; kind?: Kind; scope?: string; confidence?: number; /** the person said it, in their own words (the store keeps it active) */ person_said?: boolean }
~~~~

## interface Note

~~~~
export interface Note { id?: string; text: string; kind?: Kind; scope?: string; [k: string]: unknown }
~~~~

## interface CallOptions

~~~~
export interface CallOptions { signal?: AbortSignal }
~~~~

## interface MemoryClient

~~~~
export interface MemoryClient {
    remember(person: string, items: NoteIn | string | Array<NoteIn | string>, o?: CallOptions & { scope?: string; idempotencyKey?: string }): Promise<{ items?: Note[]; [k: string]: unknown }>;
    recall(person: string, q: string, o?: CallOptions & { scopes?: string[] }): Promise<{ items: Note[]; count: number }>;
    profile(person: string, o?: CallOptions & { scope?: string }): Promise<{ profile: unknown }>;
}
~~~~

## export export function createMemoryClient(client: { json(opts: Reco

~~~~
export function createMemoryClient(client: { json(opts: Record<string, unknown>): Promise<any> }, defaults?: { baseUrl?: string }): MemoryClient;
~~~~

## export export const KINDS: readonly Kind\[\];

~~~~
export const KINDS: readonly Kind[];
~~~~

## export export const MAX\_BATCH: number;

~~~~
export const MAX_BATCH: number;
~~~~

## export export const MEMORY\_PAGE: string;

~~~~
export const MEMORY_PAGE: string;
~~~~
