Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.
Neptune Analytics is a memory-optimized graph database engine for analytics. With Neptune Analytics, you can get insights and find trends by processing large amounts of graph data in seconds, including vector search.
Installation
The Neptune Analytics provider needs the AWS Neptune Graph client. Install it alongside mem0ai:
pip install mem0ai[vector-stores]
npm install @aws-sdk/client-neptune-graph
Usage
Configure AWS credentials in your environment (environment variables, shared config file, an IAM role, or an instance profile). Both SDKs pick them up automatically through the standard AWS credential chain.
from mem0 import Memoryconfig = { "vector_store": { "provider": "neptune", "config": { "collection_name": "mem0", "endpoint": "neptune-graph://g-abc123xyz0", }, },}m = Memory.from_config(config)messages = [ {"role": "user", "content": "I'm planning to watch a movie tonight. Any recommendations?"}, {"role": "assistant", "content": "How about a thriller movie? They can be quite engaging."}, {"role": "user", "content": "I'm not a big fan of thriller movies but I love sci-fi movies."}, {"role": "assistant", "content": "Got it! I'll avoid thriller recommendations and suggest sci-fi movies in the future."}]m.add(messages, user_id="alice", metadata={"category": "movies"})
import { Memory } from 'mem0ai/oss';const config = { vectorStore: { provider: 'neptune', config: { collectionName: 'mem0', graphIdentifier: 'g-abc123xyz0', // Any other key here (region, credentials, maxAttempts, ...) is // forwarded to the underlying NeptuneGraphClient constructor. region: 'us-east-1', }, },};const memory = new Memory(config);const messages = [ { role: "user", content: "I'm planning to watch a movie tonight. Any recommendations?" }, { role: "assistant", content: "How about a thriller movie? They can be quite engaging." }, { role: "user", content: "I'm not a big fan of thriller movies but I love sci-fi movies." }, { role: "assistant", content: "Got it! I'll avoid thriller recommendations and suggest sci-fi movies in the future." },];await memory.add(messages, { userId: "alice", metadata: { category: "movies" } });
Config
Python
TypeScript
Parameter
Description
Default Value
collection_name
The name of the collection to store the vectors
mem0
endpoint
Connection URL for the Neptune Analytics service, must be neptune-graph://<graph-id>
Required
Parameter
Description
Default Value
collectionName
The name of the collection to store the vectors
memories
graphIdentifier
Graph ID, e.g. g-abc123xyz0. Takes priority over endpoint.
Required, unless endpoint supplies it
endpoint
Either neptune-graph://<graph-id> (or a bare graph ID) to supply the graph ID, or an https:// service endpoint to override the AWS endpoint. An https:// value must be paired with graphIdentifier.
undefined
dimension
Embedding vector dimension
Auto-detected from the embedder when omitted
client
A pre-built NeptuneGraphClient to use instead of constructing one
undefined
any other key
Forwarded as-is to the NeptuneGraphClient constructor, e.g. region, credentials, maxAttempts
N/A
Both SDKs store vectors on graph nodes labeled MEM0_VECTOR_<collection_name>. Point them at the same
graph with the same collection_name (the defaults differ, mem0 in Python and memories in
TypeScript) and get(), list(), and delete() interoperate across SDKs.
search() is not currently cross-SDK compatible. The TypeScript provider filters on Neptune’s reserved
~label metafield, while the Python provider filters on a synthetic label property that only Python’s
own insert() writes. Python’s search() therefore cannot see nodes written by the TypeScript provider.
IAM Permissions
Your AWS identity (user or role) needs a policy that allows the ExecuteQuery actions used for reads, writes, and deletes:
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Mem0","description":"Mem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users.","colors":{"primary":"#8F74E0","light":"#8F74E0","dark":"#8F74E0"},"logo":{"light":"https://mintcdn.com/mem0/jmnLaiutcXgYmrAY/logo/light.svg?fit=max\u0026auto=format\u0026n=jmnLaiutcXgYmrAY\u0026q=85\u0026s=262e6e63930c20446217323d7f850a7a","dark":"https://mintcdn.com/mem0/jmnLaiutcXgYmrAY/logo/dark.svg?fit=max\u0026auto=format\u0026n=jmnLaiutcXgYmrAY\u0026q=85\u0026s=90ded1dd02ad45ca33577cc49af4e022","href":"https://mem0.ai"},"favicon":"https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/logo/favicon.svg?fit=max\u0026auto=format\u0026n=QK-8_hblyHgAr7vt\u0026q=85\u0026s=c7e128d08966d9003af9dbdba2e2c483","background":{"color":{"light":"#fff","dark":"#09090b"}},"navbar":{"primary":{"type":"button","label":"Your Dashboard","href":"https://app.mem0.ai?utm_source=oss\u0026utm_medium=docs-nav"}},"footer":{"socials":{"discord":"https://mem0.dev/DiD","x":"https://x.com/mem0ai","github":"https://github.com/mem0ai","linkedin":"https://www.linkedin.com/company/mem0"}},"integrations":{"intercom":{"appId":"jjv2r0tt"},"posthog":{"apiKey":"phc_hgJkUVJFYtmaJqrvf6CYN67TIQ8yhXAkWzUn9AMU4yX","apiHost":"https://mango.mem0.ai"}},"contextual":{"options":["copy","chatgpt","claude","perplexity",{"title":"Try in Playground","description":"Open this example in the interactive Mem0 playground","icon":"play","href":"https://app.mem0.ai/playground?utm_source=oss\u0026utm_medium=docs-nav"}],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mem0","hasAudioNarration":false,"actualSubdomain":"mem0","customDomains":["docs.mem0.ai"],"gitSource":{"type":"github","owner":"mem0ai","repo":"mem0","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adf6901b80f21f06112eea8","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Documentation","count":251},{"language":"default","tag":"Open Source","count":90},{"language":"default","tag":"Configuration","count":71},{"language":"default","tag":"API Reference","count":53},{"language":"default","tag":"Mem0 Platform","count":37},{"language":"default","tag":"Integrations","count":30},{"language":"default","tag":"Vector Databases","count":29},{"language":"default","tag":"Cookbooks","count":29},{"language":"default","tag":"Features","count":29},{"language":"default","tag":"Supported Vector Databases","count":27}]},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":true,"email":"support@mem0.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"components/vectordbs/dbs/neptune-analytics","slug":"/components/vectordbs/dbs/neptune-analytics","pageMetadata":{"title":"Neptune Analytics","description":"Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.","href":"/components/vectordbs/dbs/neptune-analytics"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,Tab,Table,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://docs.aws.amazon.com/neptune-analytics/latest/userguide/what-is-neptune-analytics.html`,children:`Neptune Analytics`}),` is a memory-optimized graph database engine for analytics. With Neptune Analytics, you can get insights and find trends by processing large amounts of graph data in seconds, including vector search.`]}),`\n`,_jsx(Heading,{level:`3`,id:`installation`,children:`Installation`}),`\n`,_jsxs(_components.p,{children:[`The Neptune Analytics provider needs the AWS Neptune Graph client. Install it alongside `,_jsx(_components.code,{children:`mem0ai`}),`:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mem0ai[vector-stores]`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @aws-sdk/client-neptune-graph`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`usage`,children:`Usage`}),`\n`,_jsx(_components.p,{children:`Configure AWS credentials in your environment (environment variables, shared config file, an IAM role, or an instance profile). Both SDKs pick them up automatically through the standard AWS credential chain.`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`20`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` mem0 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Memory`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`config `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"vector_store\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"neptune\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"collection_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mem0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"endpoint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"neptune-graph://g-abc123xyz0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`m `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Memory.from_config(config)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`messages `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I'm planning to watch a movie tonight. Any recommendations?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"How about a thriller movie? They can be quite engaging.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I'm not a big fan of thriller movies but I love sci-fi movies.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Got it! I'll avoid thriller recommendations and suggest sci-fi movies in the future.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`m.add(messages, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`user_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"alice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`metadata`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"movies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`23`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Memory`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'mem0ai/oss'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` vectorStore:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` provider:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'neptune'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` config:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` collectionName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'mem0'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` graphIdentifier:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'g-abc123xyz0'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Any other key here (region, credentials, maxAttempts, ...) is`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // forwarded to the underlying NeptuneGraphClient constructor.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` region:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'us-east-1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` memory`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Memory`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` messages`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`role:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`content:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"I'm planning to watch a movie tonight. Any recommendations?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`role:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`content:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"How about a thriller movie? They can be quite engaging.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`role:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`content:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"I'm not a big fan of thriller movies but I love sci-fi movies.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`role:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`content:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Got it! I'll avoid thriller recommendations and suggest sci-fi movies in the future.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` memory`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`messages`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`userId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"alice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metadata:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`category:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"movies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } });`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`config`,children:`Config`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Python`,id:`python`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`collection_name`})}),_jsx(_components.td,{children:`The name of the collection to store the vectors`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`mem0`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`endpoint`})}),_jsxs(_components.td,{children:[`Connection URL for the Neptune Analytics service, must be `,_jsx(_components.code,{children:`neptune-graph://\u003cgraph-id>`})]}),_jsx(_components.td,{children:`Required`})]})]})]})}),_jsx(Tab,{title:`TypeScript`,id:`typescript`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`collectionName`})}),_jsx(_components.td,{children:`The name of the collection to store the vectors`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`memories`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`graphIdentifier`})}),_jsxs(_components.td,{children:[`Graph ID, e.g. `,_jsx(_components.code,{children:`g-abc123xyz0`}),`. Takes priority over `,_jsx(_components.code,{children:`endpoint`}),`.`]}),_jsxs(_components.td,{children:[`Required, unless `,_jsx(_components.code,{children:`endpoint`}),` supplies it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`endpoint`})}),_jsxs(_components.td,{children:[`Either `,_jsx(_components.code,{children:`neptune-graph://\u003cgraph-id>`}),` (or a bare graph ID) to supply the graph ID, or an `,_jsx(_components.code,{children:`https://`}),` service endpoint to override the AWS endpoint. An `,_jsx(_components.code,{children:`https://`}),` value must be paired with `,_jsx(_components.code,{children:`graphIdentifier`}),`.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`undefined`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dimension`})}),_jsx(_components.td,{children:`Embedding vector dimension`}),_jsx(_components.td,{children:`Auto-detected from the embedder when omitted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`client`})}),_jsxs(_components.td,{children:[`A pre-built `,_jsx(_components.code,{children:`NeptuneGraphClient`}),` to use instead of constructing one`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`undefined`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`any other key`}),_jsxs(_components.td,{children:[`Forwarded as-is to the `,_jsx(_components.a,{href:`https://www.npmjs.com/package/@aws-sdk/client-neptune-graph`,children:_jsx(_components.code,{children:`NeptuneGraphClient`})}),` constructor, e.g. `,_jsx(_components.code,{children:`region`}),`, `,_jsx(_components.code,{children:`credentials`}),`, `,_jsx(_components.code,{children:`maxAttempts`})]}),_jsx(_components.td,{children:`N/A`})]})]})]})})]}),`\n`,_jsxs(_components.p,{children:[`Both SDKs store vectors on graph nodes labeled `,_jsx(_components.code,{children:`MEM0_VECTOR_\u003ccollection_name>`}),`. Point them at the same\ngraph with the same `,_jsx(_components.code,{children:`collection_name`}),` (the defaults differ, `,_jsx(_components.code,{children:`mem0`}),` in Python and `,_jsx(_components.code,{children:`memories`}),` in\nTypeScript) and `,_jsx(_components.code,{children:`get()`}),`, `,_jsx(_components.code,{children:`list()`}),`, and `,_jsx(_components.code,{children:`delete()`}),` interoperate across SDKs.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`search()`}),` is not currently cross-SDK compatible. The TypeScript provider filters on Neptune’s reserved\n`,_jsx(_components.code,{children:`~label`}),` metafield, while the Python provider filters on a synthetic `,_jsx(_components.code,{children:`label`}),` property that only Python’s\nown `,_jsx(_components.code,{children:`insert()`}),` writes. Python’s `,_jsx(_components.code,{children:`search()`}),` therefore cannot see nodes written by the TypeScript provider.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`iam-permissions`,children:`IAM Permissions`}),`\n`,_jsxs(_components.p,{children:[`Your AWS identity (user or role) needs a policy that allows the `,_jsx(_components.a,{href:`https://docs.aws.amazon.com/neptune-analytics/latest/apiref/API_ExecuteQuery.html`,children:_jsx(_components.code,{children:`ExecuteQuery`})}),` actions used for reads, writes, and deletes:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2012-10-17\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Statement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Effect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Allow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"neptune-graph:ReadDataViaQuery\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"neptune-graph:WriteDataViaQuery\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"neptune-graph:DeleteDataViaQuery\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Resource\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`For production, scope the resource ARN down to your specific graph.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Neptune Analytics","description":"Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.","href":"/components/vectordbs/dbs/neptune-analytics"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":3,"children":[]},{"title":"Usage","slug":"usage","depth":3,"children":[]},{"title":"Config","slug":"config","depth":3,"children":[]},{"title":"IAM Permissions","slug":"iam-permissions","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mem0","siteName":"Mem0","title":"Neptune Analytics - Mem0","contextualStarterQuestions":[{"_id":"6a9addb12ac74576afef77a5","deploymentId":"666a8d959f97091c71a3439a","questionText":"How do I install Neptune Analytics?","status":"active","generatedBy":"contextual","path":"components/vectordbs/dbs/neptune-analytics","createdAt":"2026-09-04T15:03:13.444Z","updatedAt":"2026-09-04T15:03:13.444Z","__v":0},{"_id":"6a9addb12ac74576afef77a7","deploymentId":"666a8d959f97091c71a3439a","questionText":"How do I add messages to memory?","status":"active","generatedBy":"contextual","path":"components/vectordbs/dbs/neptune-analytics","createdAt":"2026-09-04T15:03:13.444Z","updatedAt":"2026-09-04T15:03:13.444Z","__v":0},{"_id":"6a9addb12ac74576afef77a6","deploymentId":"666a8d959f97091c71a3439a","questionText":"What AWS credentials do I need?","status":"active","generatedBy":"contextual","path":"components/vectordbs/dbs/neptune-analytics","createdAt":"2026-09-04T15:03:13.444Z","updatedAt":"2026-09-04T15:03:13.444Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-04T15:02:53.698Z","originalFileLocation":"components/vectordbs/dbs/neptune-analytics.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mem0\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Neptune Analytics - Mem0\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mem0\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mem0.mintlify.site/_mintlify/api/og/v2?division=Supported+Vector+Databases\u0026amp;title=Neptune+Analytics\u0026amp;description=Use+AWS+Neptune+Analytics+as+a+vector+store+in+Mem0%2C+combining+graph+analytics+with+vector+search+capabilities.\u0026amp;theme=47cd5eb75d92aabd5d550c91\u0026amp;signature=7c1b3754200090c6877ec7adc7358eab92481a7dad5864ffff17b174d8afe011\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Neptune Analytics - Mem0\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mem0.mintlify.site/_mintlify/api/og/v2?division=Supported+Vector+Databases\u0026amp;title=Neptune+Analytics\u0026amp;description=Use+AWS+Neptune+Analytics+as+a+vector+store+in+Mem0%2C+combining+graph+analytics+with+vector+search+capabilities.\u0026amp;theme=47cd5eb75d92aabd5d550c91\u0026amp;signature=7c1b3754200090c6877ec7adc7358eab92481a7dad5864ffff17b174d8afe011\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mem0/d_RkXckv7cNYdok2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mem0\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8F74E0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/components/vectordbs/dbs/neptune-analytics.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mem0.ai/#organization\",\"name\":\"Mem0\",\"url\":\"https://docs.mem0.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mem0/jmnLaiutcXgYmrAY/logo/light.svg?fit=max\u0026auto=format\u0026n=jmnLaiutcXgYmrAY\u0026q=85\u0026s=262e6e63930c20446217323d7f850a7a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mem0.ai#website\",\"name\":\"Mem0\",\"url\":\"https://docs.mem0.ai\",\"publisher\":{\"@id\":\"https://docs.mem0.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics#webpage\",\"url\":\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics\",\"name\":\"Neptune Analytics\",\"description\":\"Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.\",\"dateModified\":\"2026-09-04T15:02:53.698Z\",\"isPartOf\":{\"@id\":\"https://docs.mem0.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Configuration\",\"item\":\"https://docs.mem0.ai/open-source/configuration\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vector Databases\",\"item\":\"https://docs.mem0.ai/components/vectordbs/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Supported Vector Databases\",\"item\":\"https://docs.mem0.ai/components/vectordbs/dbs/qdrant\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Neptune Analytics\",\"item\":\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics#article\",\"headline\":\"Neptune Analytics\",\"name\":\"Neptune Analytics\",\"description\":\"Use AWS Neptune Analytics as a vector store in Mem0, combining graph analytics with vector search capabilities.\",\"url\":\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mem0.ai/components/vectordbs/dbs/neptune-analytics#webpage\"},\"dateModified\":\"2026-09-04T15:02:53.698Z\",\"publisher\":{\"@id\":\"https://docs.mem0.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mem0.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mem0\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mem0\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/components/vectordbs/dbs/neptune-analytics.md","siteName":"Mem0","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/introduction"}]},{"tab":"Mem0 Platform","pages":[{"title":"Mem0 Platform","href":"/platform/quickstart"}]},{"tab":"Open Source","groups":[{"group":"Getting Started","icon":"rocket","pages":[{"title":"Open Source Overview","sidebarTitle":"Overview","icon":"house","href":"/open-source/overview"},{"title":"Python SDK Quickstart","icon":"snake","href":"/open-source/python-quickstart"},{"title":"Node SDK Quickstart","icon":"js","href":"/open-source/node-quickstart"},{"title":"Self-Hosted Setup","sidebarTitle":"Self-Hosted Server","icon":"rocket-launch","href":"/open-source/setup"},{"title":"Vibecoding with Mem0","sidebarTitle":"Vibecoding","icon":"wand-magic-sparkles","href":"/vibecoding"}]},{"group":"Features","icon":"server","pages":[{"title":"Open Source Features Overview","sidebarTitle":"Overview","icon":"list","href":"/open-source/features/overview"},{"title":"Enhanced Metadata Filtering","icon":"filter","href":"/open-source/features/metadata-filtering"},{"title":"Reranker-Enhanced Search","icon":"ranking-star","href":"/open-source/features/reranker-search"},{"title":"Async Memory","icon":"bolt","href":"/open-source/features/async-memory"},{"title":"Open Source Multimodal Support","sidebarTitle":"Multimodal Support","icon":"image","href":"/open-source/features/multimodal-support"},{"title":"Open Source Custom Instructions","sidebarTitle":"Custom Instructions","icon":"wand-magic-sparkles","href":"/open-source/features/custom-instructions"},{"title":"REST API Server","icon":"code","href":"/open-source/features/rest-api"},{"title":"OpenAI Compatibility","icon":"message-bot","href":"/open-source/features/openai-compatibility"},{"title":"Memory Expiration in Mem0","sidebarTitle":"Memory Expiration","href":"/platform/features/memory-expiration"}]},{"group":"Configuration","icon":"sliders","pages":[{"title":"Configure the OSS Stack","icon":"sliders","href":"/open-source/configuration"},{"group":"LLMs","icon":"message-bot","pages":[{"title":"LLM Providers Overview","sidebarTitle":"Overview","href":"/components/llms/overview"},{"title":"LLM Configuration Reference","sidebarTitle":"Configurations","href":"/components/llms/config"},{"group":"Supported LLMs","icon":"list","pages":[{"title":"OpenAI as LLM Provider","sidebarTitle":"OpenAI","href":"/components/llms/models/openai"},{"title":"Anthropic","href":"/components/llms/models/anthropic"},{"title":"Azure OpenAI as LLM Provider","sidebarTitle":"Azure OpenAI","href":"/components/llms/models/azure-openai"},{"title":"Ollama as LLM Provider","sidebarTitle":"Ollama","href":"/components/llms/models/ollama"},{"title":"Together AI as LLM Provider","sidebarTitle":"Together","href":"/components/llms/models/together"},{"title":"Groq","href":"/components/llms/models/groq"},{"title":"LiteLLM","href":"/components/llms/models/litellm"},{"title":"Mistral AI","href":"/components/llms/models/mistral-ai"},{"title":"Google AI as LLM Provider","sidebarTitle":"Google AI","href":"/components/llms/models/google-ai"},{"title":"AWS Bedrock as LLM Provider","sidebarTitle":"AWS Bedrock","href":"/components/llms/models/aws-bedrock"},{"title":"DeepSeek","href":"/components/llms/models/deepseek"},{"title":"MiniMax","href":"/components/llms/models/minimax"},{"title":"xAI Grok as LLM Provider","sidebarTitle":"xAI","href":"/components/llms/models/xAI"},{"title":"Sarvam AI","href":"/components/llms/models/sarvam"},{"title":"LM Studio as LLM Provider","sidebarTitle":"LM Studio","href":"/components/llms/models/lmstudio"},{"title":"LangChain as LLM Provider","sidebarTitle":"LangChain","href":"/components/llms/models/langchain"},{"title":"vLLM","href":"/components/llms/models/vllm"}]}]},{"group":"Vector Databases","icon":"hard-drive","pages":[{"title":"Vector Store Providers Overview","sidebarTitle":"Overview","href":"/components/vectordbs/overview"},{"title":"Vector Store Configuration Reference","sidebarTitle":"Configurations","href":"/components/vectordbs/config"},{"group":"Supported Vector Databases","icon":"list","pages":[{"title":"Qdrant","href":"/components/vectordbs/dbs/qdrant"},{"title":"Chroma","href":"/components/vectordbs/dbs/chroma"},{"title":"pgvector","href":"/components/vectordbs/dbs/pgvector"},{"title":"Milvus","href":"/components/vectordbs/dbs/milvus"},{"title":"Pinecone","href":"/components/vectordbs/dbs/pinecone"},{"title":"MongoDB","href":"/components/vectordbs/dbs/mongodb"},{"title":"Oracle AI Vector Search","href":"/components/vectordbs/dbs/oracledb"},{"title":"Azure AI Search","href":"/components/vectordbs/dbs/azure"},{"title":"Azure MySQL","href":"/components/vectordbs/dbs/azure-mysql"},{"title":"Redis","href":"/components/vectordbs/dbs/redis"},{"title":"Valkey","href":"/components/vectordbs/dbs/valkey"},{"title":"Elasticsearch","href":"/components/vectordbs/dbs/elasticsearch"},{"title":"OpenSearch","href":"/components/vectordbs/dbs/opensearch"},{"title":"Supabase","href":"/components/vectordbs/dbs/supabase"},{"title":"Upstash Vector","href":"/components/vectordbs/dbs/upstash-vector"},{"title":"Cloudflare Vectorize","href":"/components/vectordbs/dbs/vectorize"},{"title":"Vertex AI Vector Search","href":"/components/vectordbs/dbs/vertex-ai"},{"title":"Weaviate","href":"/components/vectordbs/dbs/weaviate"},{"title":"FAISS","href":"/components/vectordbs/dbs/faiss"},{"title":"LangChain as Vector Store Provider","sidebarTitle":"LangChain","href":"/components/vectordbs/dbs/langchain"},{"title":"Baidu VectorDB (Mochow)","href":"/components/vectordbs/dbs/baidu"},{"title":"Apache Cassandra","href":"/components/vectordbs/dbs/cassandra"},{"title":"Amazon S3 Vectors","href":"/components/vectordbs/dbs/s3-vectors"},{"title":"Databricks","href":"/components/vectordbs/dbs/databricks"},{"title":"Neon","description":"Use Neon as a vector store in Mem0, powered by PostgreSQL and pgvector.","href":"/components/vectordbs/dbs/neon"},{"title":"Neptune Analytics","href":"/components/vectordbs/dbs/neptune-analytics"},{"title":"Turbopuffer","description":"Use Turbopuffer as a serverless vector database in Mem0 for low-latency search at scale with native metadata filtering.","href":"/components/vectordbs/dbs/turbopuffer"}]}]},{"group":"Embedding Models","icon":"cube","pages":[{"title":"Embedding Providers Overview","sidebarTitle":"Overview","href":"/components/embedders/overview"},{"title":"Embedder Configuration Reference","sidebarTitle":"Configurations","href":"/components/embedders/config"},{"group":"Supported Embedding Models","icon":"list","pages":[{"title":"OpenAI as Embedding Provider","sidebarTitle":"OpenAI","href":"/components/embedders/models/openai"},{"title":"Azure OpenAI as Embedding Provider","sidebarTitle":"Azure OpenAI","href":"/components/embedders/models/azure-openai"},{"title":"Ollama as Embedding Provider","sidebarTitle":"Ollama","href":"/components/embedders/models/ollama"},{"title":"Hugging Face","href":"/components/embedders/models/huggingface"},{"title":"Vertex AI","href":"/components/embedders/models/vertexai"},{"title":"Google AI as Embedding Provider","sidebarTitle":"Google AI","href":"/components/embedders/models/google-ai"},{"title":"LM Studio as Embedding Provider","sidebarTitle":"LM Studio","href":"/components/embedders/models/lmstudio"},{"title":"Together AI as Embedding Provider","sidebarTitle":"Together","href":"/components/embedders/models/together"},{"title":"LangChain as Embedding Provider","sidebarTitle":"LangChain","href":"/components/embedders/models/langchain"},{"title":"AWS Bedrock as Embedding Provider","sidebarTitle":"AWS Bedrock","href":"/components/embedders/models/aws-bedrock"},{"title":"FastEmbed","href":"/components/embedders/models/fastembed"}]}]},{"group":"Rerankers","icon":"ranking-star","pages":[{"title":"Reranker Providers Overview","sidebarTitle":"Overview","href":"/components/rerankers/overview"},{"title":"Config","href":"/components/rerankers/config"},{"title":"Performance Optimization","href":"/components/rerankers/optimization"},{"title":"Custom Prompts","href":"/components/rerankers/custom-prompts"},{"group":"Supported Rerankers","icon":"list","pages":[{"title":"Cohere","href":"/components/rerankers/models/cohere"},{"title":"Sentence Transformer","href":"/components/rerankers/models/sentence-transformer"},{"title":"Hugging Face Reranker","href":"/components/rerankers/models/huggingface"},{"title":"LLM Reranker","href":"/components/rerankers/models/llm-reranker"},{"title":"Zero Entropy","href":"/components/rerankers/models/zero-entropy"}]}]}]},{"group":"Migration","icon":"arrow-right","pages":[{"title":"Open Source: Migrating to the New Memory Algorithm","icon":"arrow-right","iconType":"solid","href":"/migration/oss-v2-to-v3"},{"title":"Server: Upgrading the pgvector Docker Image","icon":"arrow-right","iconType":"solid","href":"/migration/server-pgvector-upgrade"}]},{"group":"Community \u0026 Support","icon":"users","pages":[{"title":"Development","icon":"code","href":"/contributing/development"},{"title":"Documentation","icon":"book","href":"/contributing/documentation"},{"title":"Contribution Hub","icon":"clipboard-list","href":"/platform/contribute"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"Agent Plugins","pages":[{"title":"Agent Plugins","href":"/integrations/claude-code"}]},{"tab":"Cookbooks","pages":[{"title":"Cookbooks","href":"/cookbooks/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/changelog/highlights"}]}]}]},"basePath":"","title":"Neptune Analytics - Mem0","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}