MCPcopy
hub / github.com/CaviraOSS/OpenMemory / OpenMemoryOptions

Interface OpenMemoryOptions

sdk-js/src/index.ts:10–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import { update_user_summary } from './memory/user_summary';
9
10export interface OpenMemoryOptions {
11 mode?: 'local' | 'remote';
12 path?: string;
13 url?: string;
14 apiKey?: string;
15 embeddings?: {
16 provider: 'openai' | 'gemini' | 'ollama' | 'aws' | 'local' | 'synthetic';
17 apiKey?: string;
18 model?: string;
19 mode?: 'simple' | 'advanced';
20 dimensions?: number;
21 aws?: {
22 accessKeyId?: string;
23 secretAccessKey?: string;
24 region?: string;
25 };
26 ollama?: {
27 url?: string;
28 };
29 localPath?: string;
30 };
31 tier?: 'fast' | 'smart' | 'deep' | 'hybrid';
32 compression?: {
33 enabled: boolean;
34 algorithm?: 'semantic' | 'syntactic' | 'aggressive' | 'auto';
35 minLength?: number;
36 };
37 decay?: {
38 intervalMinutes?: number;
39 threads?: number;
40 coldThreshold?: number;
41 reinforceOnQuery?: boolean;
42 };
43 reflection?: {
44 enabled: boolean;
45 intervalMinutes?: number;
46 minMemories?: number;
47 };
48 vectorStore?: {
49 backend: 'sqlite' | 'pgvector' | 'weaviate';
50 };
51 langGraph?: {
52 namespace?: string;
53 maxContext?: number;
54 reflective?: boolean;
55 };
56 telemetry?: boolean;
57}
58
59export class OpenMemory {
60 private mode: 'local' | 'remote';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected