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

Mem0 Python SDK (v2.2.0)

Mem0 Python SDK v2.2.0 adds User Profile capabilities to both sync and async clients, alongside a fix for handling None timestamps in Valkey vector store operations.

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

人类阅读

为什么值得关注

Mem0 Python SDK v2.2.0 has been released. The primary addition is User Profiles for MemoryClient and AsyncMemoryClient via get profile(), generate profile(), get profile settings(), update profile settings(), sample profiles(), and get profile job(). User profiles are structured JSON summaries based on project-level JSON Schemas populated by an LLM using user memories. Generation jobs run asynchronously and accept an Idempotency-Key header to prevent duplicate jobs during retries. Additionally, a bug fix for the Valkey vector store resolves a TypeError triggered when datetime.fromisoformat() encountered None values for created at or updated at fields in insert() and update() operations, aligning behavior with the Redis provider.

Agent 解析

可执行摘要

Mem0 v2.2.0 introduces asynchronous User Profile generation and management APIs to MemoryClient and AsyncMemoryClient with Idempotency-Key support, and resolves a TypeError in the Valkey vector store caused by None values in created at/updated at fields.

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

开发者应核对什么

  • Upgrade Mem0 Python SDK to v2.2.0 using pip.
  • If using the Valkey vector store, verify that payloads with None timestamps now fall through to defaults without TypeErrors.
  • Integrate the new User Profile API methods (e.g., generate profile, get profile) and define project JSON schemas if structured memory profiles are needed.
  • Ensure Idempotency-Key is supplied when retrying profile generation requests.
分类

标签与路由

memoryagentspersonalization
相关信号

继续阅读