LearnNewsExamplesServices
Frontmatter
id9725
titleSwitch Memory Core embedding provider to Gemini and optimize RAG migration
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 5, 2026, 11:42 PM
updatedAtApr 5, 2026, 11:52 PM
githubUrlhttps://github.com/neomjs/neo/issues/9725
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 5, 2026, 11:52 PM

Switch Memory Core embedding provider to Gemini and optimize RAG migration

Closedenhancementai
tobiu
tobiu commented on Apr 5, 2026, 11:42 PM

The user reported that the local Ollama LLM is continually bottlenecking the iMac hardware during heavy Memory Core vector processing (e.g. 4-hour migrations and post-turn summaries). To stabilize the OS architecture, we will offload all vector embedding to the cloud API.

Objectives:

  1. Update ai/mcp/server/memory-core/config.mjs to set neoEmbeddingProvider to gemini by default.
  2. Update syncMemoryChromaToNeo.mjs to detect if the source and target embedding providers match. If they do (both Gemini), bypass the entire TextEmbeddingService loop and fetch Chroma's embeddings natively, performing a 1:1 instantaneous hardware dump of the vectors into SQLite.
  3. Terminate the hanging 4-hour migration script and restart it with the optimized 3-second vector dump protocol.
tobiu added the enhancement label on Apr 5, 2026, 11:42 PM
tobiu added the ai label on Apr 5, 2026, 11:42 PM
tobiu referenced in commit 11e4d56 - "refactor(MemoryCore): Switch native embedding provider to Gemini and optimize Chroma migration (#9725)" on Apr 5, 2026, 11:52 PM
tobiu assigned to @tobiu on Apr 5, 2026, 11:52 PM
tobiu
tobiu Apr 5, 2026, 11:52 PM

Migration strategy successfully refactored to perform instantaneous 1:1 hardware vector transfer from Chroma legacy payload explicitly to SQLite Native tables, bypassing the expensive TextEmbeddingService.

tobiu closed this issue on Apr 5, 2026, 11:52 PM