Skip to content

Mem0 Node SDK (v3.1.0)

Choose a tag to compare

@whysosaket whysosaket released this 13 Jul 16:49
42cf18c

Mem0 Node SDK (v3.1.0)

The largest provider release for the TypeScript OSS SDK so far: 17 new vector stores, 5 new LLM providers, 4 new embedders, and reranking support. Importing mem0ai/oss no longer pulls in any provider SDK, so you only install what you actually configure.

New Features:

  • Rerankers: Add reranking to the OSS SDK with four providers (Cohere, ZeroEntropy, cross-encoder, and LLM-based), plus per-search rerank via a rerank option on search() (#6055)
  • Memory (OSS): Accept text in Memory.update(). data still works but is now deprecated, so prefer text in new code (#6044)
  • Vector Stores: Add Pinecone (#5802), Weaviate (#5800), Milvus (#5889), Chroma (#6145), MongoDB (#5793), Elasticsearch (#5866), and OpenSearch (#5810)
  • Vector Stores: Add Databricks (#5824), AWS Neptune Analytics (#5797), S3 Vectors (#5822), Azure MySQL (#5827), and Google Vertex AI Vector Search (#5791)
  • Vector Stores: Add Turbopuffer (#5801), Upstash Vector (#5811), Valkey (#5826), Cassandra (#5823), and Baidu Mochow (#5790)
  • LLMs: Add AWS Bedrock (#5890), xAI Grok (#6115), Together (#6049), vLLM (#5805), and Sarvam (#6130)
  • Embeddings: Add Vertex AI (#5882), HuggingFace (#6027), FastEmbed (#5862), and Together (#5989)

Improvements:

  • Packaging: Lazy-load optional provider SDKs so importing mem0ai/oss never requires them. Provider packages are now resolved on first use, so an app that only configures OpenAI and Qdrant does not need the other provider SDKs installed (#6280)

Bug Fixes:

  • Memory (OSS): Re-raise LLM extraction transport failures instead of returning [], so a network error during extraction surfaces as an error rather than a silently empty result (#6102)
  • Vector Stores: Prevent an unhandled promise rejection in the Supabase and Redis constructors (#6111)
  • Client: Encode dynamic URL path segments so IDs containing special characters no longer produce malformed requests (#5963)

Security:

  • Dependencies: Patch the fast-xml-parser and tar transitive CVEs (#6160)