Agent 基础设施官方发布自动监测

Mem0 Python SDK (v2.2.0)

Mem0 Python SDK v2.2.0 adds User Profile management to both sync and async clients, alongside a bug fix for Valkey vector store timestamp handling.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

Mem0 Python SDK v2.2.0 introduces User Profiles to MemoryClient and AsyncMemoryClient. User profiles are structured JSON summaries of users shaped by a project-configured JSON Schema and populated by an LLM using the user's memories. New client methods include get profile(), generate profile(), get profile settings(), update profile settings(), sample profiles(), and get profile job(). Generation runs asynchronously, and job POST requests support an Idempotency-Key header to prevent duplicate runs on retry. Additionally, a bug fix guards against None timestamps in the Valkey vector store's insert() and update() paths, preventing TypeError during datetime.fromisoformat() by aligning fallback behavior with the Redis provider.

Agent 解析

可执行摘要

Mem0 Python SDK v2.2.0 introduces User Profiles in MemoryClient and AsyncMemoryClient with asynchronous generation and idempotency keys, and fixes a TypeError in Valkey vector store caused by None timestamps.

Agent 实用度
77/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Upgrade Mem0 Python SDK to v2.2.0.
  • Adopt the new profile API methods (e.g., generate profile(), get profile()) and configure project-level JSON Schemas if utilizing User Profiles.
  • Ensure Idempotency-Key is reused when retrying asynchronous profile generation job requests.
  • Verify Valkey vector store workflows if previously impacted by TypeError on None timestamps in insert() or update().
分类

标签与路由

memoryagentspersonalization
相关信号

继续阅读