featurehigh
用户资料功能已添加到 Mem0 Python SDK (v2.2.0),附带资料管理方法
Python SDK 用户现在可以创建、检索和管理用户资料,这些资料是由可配置架构构成的结构化 JSON 摘要,支持异步生成和幂等作业重试。
证据
+Add User Profiles to MemoryClient and AsyncMemoryClient: get_profile(), generate_profile(), get_profile_settings(), update_profile_settings(), sample_profiles(), and get_profile_job(). A profile is a structured, always-current JSON summary of one user, shaped by a JSON Schema you configure per project and filled by an LLM from that user's memories. Generation is asynchronous. Every job POST carries an Idempotency-Key; to retry a lost request without starting a second job, pass the same idempotency_key on each attempt