The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
(Docs Update) update mem0ai usage examples to use ES6 imports (#2041)
Saket Aryan8c087fcabcb8
diff --git a/docs/platform/quickstart.mdx b/docs/platform/quickstart.mdxindex f3ab774b9..84c05a1b9 100644--- a/docs/platform/quickstart.mdx+++ b/docs/platform/quickstart.mdx@@ -32,8 +32,8 @@ client = MemoryClient(api_key="your-api-key")``````javascript JavaScript-const MemoryClient = require('mem0ai');-const client = new MemoryClient('your-api-key');+import MemoryClient from 'mem0ai';+const client = new MemoryClient({ apiKey: 'your-api-key' });```</CodeGroup>diff --git a/docs/quickstart.mdx b/docs/quickstart.mdxindex 15da21624..64d9eb27a 100644--- a/docs/quickstart.mdx+++ b/docs/quickstart.mdx@@ -58,8 +58,8 @@ client = MemoryClient(api_key="your-api-key")``````javascript JavaScript-const MemoryClient = require('mem0ai');-const client = new MemoryClient('your-api-key');+import MemoryClient from 'mem0ai';+const client = new MemoryClient({ apiKey: 'your-api-key' });```</CodeGroup></Accordion>