{"id":111292,"date":"2026-09-30T21:09:37","date_gmt":"2026-09-30T13:09:37","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/111292.html"},"modified":"2026-09-30T21:09:37","modified_gmt":"2026-09-30T13:09:37","slug":"%e5%b0%8f%e6%99%ba-esp32-%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%9b%86%e6%88%90-powermem-%e8%ae%b0%e5%bf%86%e7%bb%84%e4%bb%b6%ef%bc%9a%e9%85%8d%e7%bd%ae%e3%80%81%e7%94%a8%e6%88%b7%e7%94%bb%e5%83%8f%e4%b8%8e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/111292.html","title":{"rendered":"\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406"},"content":{"rendered":"<ul class=\"gcb-tag-list\">\n<li><span class=\"gcb-tag\">\u540e\u7aef<\/span><\/li>\n<li><span class=\"gcb-tag\">\u7269\u8054\u7f51<\/span><\/li>\n<li><span class=\"gcb-tag\">\u8bed\u97f3<\/span><\/li>\n<li><span class=\"gcb-tag\">\u4eba\u5de5\u667a\u80fd<\/span><\/li>\n<li><span class=\"gcb-tag\">AI \u5e94\u7528<\/span><\/li>\n<li><span class=\"gcb-tag\">AI Agent<\/span><\/li>\n<li><span class=\"gcb-tag\">RAG<\/span><\/li>\n<\/ul>\n<h3 class=\"gcb-project-title\">\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011xiaozhi-esp32-server<\/h3>\n<p class=\"gcb-project-desc\">\u672c\u9879\u76ee\u4e3axiaozhi-esp32\u63d0\u4f9b\u540e\u7aef\u670d\u52a1&#xff0c;\u5e2e\u52a9\u60a8\u5feb\u901f\u642d\u5efaESP32\u8bbe\u5907\u63a7\u5236\u670d\u52a1\u5668\u3002Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.<\/p>\n<p>    <span class=\"gcb-project-addr-label\">\u9879\u76ee\u5730\u5740&#xff1a;<\/span><br \/>\n    <span class=\"gcb-project-addr-link\">https:\/\/gitcode.com\/gh_mirrors\/xia\/xiaozhi-esp32-server<\/span> <\/p>\n<p>  <span class=\"gcb-project-btn\"> <span class=\"gcb-project-btn-main\">\u70b9\u51fb\u67e5\u770b<\/span> <span class=\"gcb-project-btn-sub\">\u514d\u8d39\u4e0b\u8f7d<\/span> <\/span> <\/p>\n<p>PowerMem \u662f OceanBase \u5f00\u6e90\u7684 Agent \u8bb0\u5fc6\u7ec4\u4ef6&#xff0c;\u5b83\u901a\u8fc7\u672c\u5730 LLM \u5b8c\u6210\u8bb0\u5fc6\u603b\u7ed3\u4e0e\u5411\u91cf\u68c0\u7d22&#xff0c;\u4e3a AI \u4ee3\u7406\u63d0\u4f9b\u9ad8\u6548\u7684\u8bb0\u5fc6\u7ba1\u7406\u80fd\u529b\u3002\u672c\u6307\u5357\u4ee5 xiaozhi-esp32-server \u9879\u76ee\u4e2d docs\/powermem-integration.md \u4e3a\u6838\u5fc3&#xff0c;\u7ed3\u5408\u4ed3\u5e93\u5185 powermem \u8bb0\u5fc6\u63d0\u4f9b\u65b9\u7684\u771f\u5b9e\u6e90\u7801\u4e0e\u914d\u7f6e&#xff0c;\u5b8c\u6574\u8bb2\u89e3 PowerMem \u7684\u5b89\u88c5\u3001\u56db\u79cd\u5178\u578b\u914d\u7f6e\u65b9\u6848&#xff08;\u901a\u4e49\u5343\u95ee \/ \u667a\u8c31\u514d\u8d39\u65b9\u6848 \/ OpenAI \/ OceanBase&#xff09;\u3001\u8bbe\u5907\u8bb0\u5fc6\u9694\u79bb\u4e0e\u7528\u6237\u753b\u50cf&#xff08;UserMemory&#xff09;\u7684\u5de5\u4f5c\u539f\u7406&#xff0c;\u5e76\u7ed9\u51fa\u53ef\u9a8c\u8bc1\u7684\u6d4b\u8bd5\u65b9\u6cd5&#xff0c;\u5e2e\u52a9\u4f60\u5728 ESP32 \u540e\u7aef\u670d\u52a1\u4e0a\u5feb\u901f\u843d\u5730\u6301\u4e45\u5316\u8bb0\u5fc6\u80fd\u529b\u3002<\/p>\n<h3>PowerMem \u662f\u4ec0\u4e48<\/h3>\n<p>PowerMem \u662f\u7531 OceanBase \u5f00\u6e90\u3001\u57fa\u4e8e\u672c\u5730 LLM \u8fdb\u884c\u8bb0\u5fc6\u603b\u7ed3\u4e0e\u667a\u80fd\u68c0\u7d22\u7684 Agent \u8bb0\u5fc6\u7ec4\u4ef6\u3002\u5728 xiaozhi-esp32-server \u4e2d&#xff0c;\u5b83\u4f5c\u4e3a Memory \u6a21\u5757\u7684\u4e00\u4e2a\u53ef\u9009\u63d0\u4f9b\u65b9&#xff08;provider&#xff09;&#xff0c;\u88ab\u5c01\u88c5\u5728 powermem.py \u4e2d&#xff0c;\u5b9e\u73b0\u4e0e mem0ai\u3001mem_local_short \u7b49\u8bb0\u5fc6\u7ec4\u4ef6\u540c\u7b49\u7684\u63d2\u62d4\u63a5\u53e3\u3002<\/p>\n<h4>\u8d39\u7528\u8bf4\u660e<\/h4>\n<p>PowerMem \u672c\u8eab\u5f00\u6e90\u514d\u8d39&#xff0c;\u5b9e\u9645\u8d39\u7528\u53d6\u51b3\u4e8e\u4f60\u9009\u62e9\u7684 LLM \u4e0e\u6570\u636e\u5e93&#xff1a;<\/p>\n<ul>\n<li>\u4f7f\u7528 SQLite &#043; \u514d\u8d39 LLM&#xff08;\u5982\u667a\u8c31 glm-4-flash&#xff09;&#061; \u5b8c\u5168\u514d\u8d39&#xff1b;<\/li>\n<li>\u4f7f\u7528\u4e91\u7aef LLM \u6216\u4e91\u7aef\u6570\u636e\u5e93 &#061; \u6309\u5bf9\u5e94\u670d\u52a1\u6536\u8d39\u3002<\/li>\n<\/ul>\n<p>\u6027\u80fd\u63d0\u793a&#xff1a;PowerMem \u914d\u5408 OceanBase \u4f7f\u7528\u53ef\u5b9e\u73b0\u6700\u5927\u6027\u80fd\u91ca\u653e&#xff0c;SQLite \u4ec5\u5efa\u8bae\u5728\u8d44\u6e90\u4e0d\u8db3\u7684\u60c5\u51b5\u4e0b\u4f7f\u7528\u3002<\/p>\n<h4>\u529f\u80fd\u7279\u6027<\/h4>\n<ul>\n<li>\u672c\u5730\u603b\u7ed3&#xff1a;\u901a\u8fc7 LLM \u5728\u672c\u5730\u5b8c\u6210\u8bb0\u5fc6\u603b\u7ed3\u548c\u63d0\u53d6&#xff0c;\u6570\u636e\u4e0d\u7ecf\u8fc7\u7b2c\u4e09\u65b9\u8bb0\u5fc6\u5e73\u53f0&#xff1b;<\/li>\n<li>\u7528\u6237\u753b\u50cf&#xff1a;\u901a\u8fc7 UserMemory \u81ea\u52a8\u63d0\u53d6\u7528\u6237\u4fe1\u606f&#xff08;\u59d3\u540d\u3001\u804c\u4e1a\u3001\u5174\u8da3\u7b49&#xff09;&#xff0c;\u5e76\u6301\u7eed\u66f4\u65b0\u7528\u6237\u753b\u50cf&#xff1b;<\/li>\n<li>\u667a\u80fd\u9057\u5fd8&#xff1a;\u57fa\u4e8e\u827e\u5bbe\u6d69\u65af\u9057\u5fd8\u66f2\u7ebf&#xff0c;\u81ea\u52a8&#034;\u9057\u5fd8&#034;\u8fc7\u65f6\u566a\u58f0\u4fe1\u606f&#xff1b;<\/li>\n<li>\u591a\u79cd\u5b58\u50a8\u540e\u7aef&#xff1a;\u652f\u6301 OceanBase&#xff08;\u63a8\u8350&#xff0c;\u6700\u4f73\u6027\u80fd&#xff09;\u3001SeekDB&#xff08;\u63a8\u8350&#xff0c;AI \u5e94\u7528\u5b58\u50a8\u4e00\u4f53&#xff09;\u3001PostgreSQL\u3001SQLite&#xff08;\u8f7b\u91cf\u5907\u9009&#xff09;&#xff1b;<\/li>\n<li>\u591a\u79cd LLM \u652f\u6301&#xff1a;\u901a\u4e49\u5343\u95ee\u3001\u667a\u8c31&#xff08;glm-4-flash \u514d\u8d39&#xff09;\u3001OpenAI \u7b49&#xff1b;<\/li>\n<li>\u667a\u80fd\u68c0\u7d22&#xff1a;\u57fa\u4e8e\u5411\u91cf\u641c\u7d22\u7684\u8bed\u4e49\u68c0\u7d22\u80fd\u529b&#xff1b;<\/li>\n<li>\u79c1\u6709\u90e8\u7f72&#xff1a;\u5b8c\u5168\u652f\u6301\u672c\u5730\u79c1\u6709\u5316\u90e8\u7f72&#xff1b;<\/li>\n<li>\u5f02\u6b65\u64cd\u4f5c&#xff1a;\u9ad8\u6548\u7684\u5f02\u6b65\u8bb0\u5fc6\u7ba1\u7406\u3002<\/li>\n<\/ul>\n<h3>\u5b89\u88c5\u4e0e\u4f9d\u8d56<\/h3>\n<p>PowerMem \u5df2\u6dfb\u52a0\u5230\u9879\u76ee\u4f9d\u8d56\u4e2d\u3002\u4ed3\u5e93\u7684 requirements.txt \u4e2d\u58f0\u660e\u4e86 powermem&gt;&#061;0.3.1&#xff08;\u8be5\u7248\u672c\u7ea6\u675f\u4e0e\u6587\u6863\u6240\u8ff0&#034;\u7528\u6237\u753b\u50cf\u529f\u80fd\u9700 0.3.0&#043;&#034;\u4e00\u81f4&#xff09;\u3002\u5982\u679c\u9700\u8981\u624b\u52a8\u5b89\u88c5&#xff1a;<\/p>\n<p>pip install powermem<\/p>\n<p>\u4ece\u6e90\u7801\u7ed3\u6784\u770b&#xff0c;\u8bb0\u5fc6\u6a21\u5757\u91c7\u7528&#034;\u76ee\u5f55\u5373\u63d0\u4f9b\u65b9&#034;\u7684\u52a8\u6001\u52a0\u8f7d\u673a\u5236&#xff1a;memory.py \u4e2d\u7684 create_instance \u4f1a\u6839\u636e\u914d\u7f6e\u7684 type \u540d\u79f0&#xff0c;\u4ece core\/providers\/memory\/{class_name}\/{class_name}.py \u52a8\u6001\u5bfc\u5165\u5e76\u5b9e\u4f8b\u5316\u5bf9\u5e94\u7684 MemoryProvider \u7c7b\u3002\u56e0\u6b64&#xff0c;\u53ea\u8981 selected_module.Memory \u6307\u5411 powermem&#xff0c;\u670d\u52a1\u542f\u52a8\u65f6\u5c31\u4f1a\u81ea\u52a8\u52a0\u8f7d powermem.py \u4e2d\u5b9a\u4e49\u7684 MemoryProvider\u3002<\/p>\n<h3>\u914d\u7f6e\u8bf4\u660e<\/h3>\n<h4>\u57fa\u7840\u914d\u7f6e<\/h4>\n<p>\u5728 config.yaml \u4e2d&#xff0c;selected_module \u4e0b\u7684 Memory \u5b57\u6bb5\u7528\u4e8e\u9009\u62e9\u8bb0\u5fc6\u7ec4\u4ef6&#xff0c;\u9ed8\u8ba4\u662f nomem&#xff08;\u4e0d\u5f00\u542f\u8bb0\u5fc6&#xff09;\u3002\u5207\u6362\u5230 PowerMem \u9700\u8981\u505a\u4e24\u6b65\u914d\u7f6e&#xff1a;<\/p>\n<p>selected_module:<br \/>\n  Memory: powermem<\/p>\n<p>Memory:<br \/>\n  powermem:<br \/>\n    type: powermem<br \/>\n    # \u662f\u5426\u542f\u7528\u7528\u6237\u753b\u50cf\u529f\u80fd<br \/>\n    # \u7528\u6237\u753b\u50cf\u652f\u6301: oceanbase\u3001seekdb\u3001sqlite (powermem 0.3.0&#043;)<br \/>\n    enable_user_profile: true<\/p>\n<p>    # &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; LLM \u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n    llm:<br \/>\n      provider: openai  # \u53ef\u9009: qwen, openai, zhipu \u7b49<br \/>\n      config:<br \/>\n        api_key: \u4f60\u7684LLM API\u5bc6\u94a5<br \/>\n        model: qwen-plus<br \/>\n        # openai_base_url: https:\/\/api.openai.com\/v1  # \u53ef\u9009&#xff0c;\u81ea\u5b9a\u4e49\u670d\u52a1\u5730\u5740<\/p>\n<p>    # &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; Embedding \u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n    embedder:<br \/>\n      provider: openai  # \u53ef\u9009: qwen, openai \u7b49<br \/>\n      config:<br \/>\n        api_key: \u4f60\u7684\u5d4c\u5165\u6a21\u578bAPI\u5bc6\u94a5<br \/>\n        model: text-embedding-v4<br \/>\n        openai_base_url: https:\/\/dashscope.aliyuncs.com\/compatible-mode\/v1<br \/>\n        # embedding_dims: 1024  # \u5411\u91cf\u7ef4\u5ea6&#xff0c;\u975e1536\u65f6\u9700\u914d\u7f6e<\/p>\n<p>    # &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; Database \u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n    vector_store:<br \/>\n      provider: sqlite  # \u53ef\u9009: oceanbase(\u63a8\u8350), seekdb(\u63a8\u8350), postgres, sqlite(\u8f7b\u91cf)<br \/>\n      config: {}  # SQLite \u65e0\u9700\u989d\u5916\u914d\u7f6e<\/p>\n<p>\u8fd9\u6bb5\u914d\u7f6e\u4e0e config.yaml \u4e2d Memory.powermem \u7684\u9ed8\u8ba4\u793a\u4f8b\u5b8c\u5168\u5bf9\u5e94&#xff0c;\u53ef\u76f4\u63a5\u590d\u5236\u4f7f\u7528\u3002<\/p>\n<h4>\u914d\u7f6e\u53c2\u6570\u8be6\u89e3<\/h4>\n<h5>LLM \u914d\u7f6e<\/h5>\n<table>\n<tr>\u53c2\u6570\u8bf4\u660e\u53ef\u9009\u503c<\/tr>\n<tbody>\n<tr>\n<td>llm.provider<\/td>\n<td>LLM \u63d0\u4f9b\u5546<\/td>\n<td>qwen, openai, zhipu \u7b49<\/td>\n<\/tr>\n<tr>\n<td>llm.config.api_key<\/td>\n<td>API \u5bc6\u94a5<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<tr>\n<td>llm.config.model<\/td>\n<td>\u6a21\u578b\u540d\u79f0<\/td>\n<td>\u6839\u636e\u63d0\u4f9b\u5546\u9009\u62e9<\/td>\n<\/tr>\n<tr>\n<td>llm.config.openai_base_url<\/td>\n<td>\u81ea\u5b9a\u4e49\u670d\u52a1\u5730\u5740&#xff08;\u53ef\u9009&#xff09;<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>Embedding \u914d\u7f6e<\/h5>\n<table>\n<tr>\u53c2\u6570\u8bf4\u660e\u53ef\u9009\u503c<\/tr>\n<tbody>\n<tr>\n<td>embedder.provider<\/td>\n<td>\u5d4c\u5165\u6a21\u578b\u63d0\u4f9b\u5546<\/td>\n<td>qwen, openai \u7b49<\/td>\n<\/tr>\n<tr>\n<td>embedder.config.api_key<\/td>\n<td>API \u5bc6\u94a5<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<tr>\n<td>embedder.config.model<\/td>\n<td>\u6a21\u578b\u540d\u79f0<\/td>\n<td>\u6839\u636e\u63d0\u4f9b\u5546\u9009\u62e9<\/td>\n<\/tr>\n<tr>\n<td>embedder.config.openai_base_url<\/td>\n<td>\u81ea\u5b9a\u4e49\u670d\u52a1\u5730\u5740&#xff08;\u53ef\u9009&#xff09;<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>Database \u914d\u7f6e<\/h5>\n<table>\n<tr>\u53c2\u6570\u8bf4\u660e\u53ef\u9009\u503c<\/tr>\n<tbody>\n<tr>\n<td>vector_store.provider<\/td>\n<td>\u5b58\u50a8\u540e\u7aef\u7c7b\u578b<\/td>\n<td>oceanbase(\u63a8\u8350), seekdb(\u63a8\u8350), postgres, sqlite(\u8f7b\u91cf)<\/td>\n<\/tr>\n<tr>\n<td>vector_store.config<\/td>\n<td>\u6570\u636e\u5e93\u8fde\u63a5\u914d\u7f6e<\/td>\n<td>\u6839\u636e provider \u8bbe\u7f6e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u8bb0\u5fc6\u6a21\u5f0f\u8bf4\u660e<\/h4>\n<p>PowerMem \u652f\u6301\u4e24\u79cd\u8bb0\u5fc6\u6a21\u5f0f&#xff1a;<\/p>\n<table>\n<tr>\u6a21\u5f0f\u914d\u7f6e\u529f\u80fd\u5b58\u50a8\u8981\u6c42<\/tr>\n<tbody>\n<tr>\n<td>\u666e\u901a\u8bb0\u5fc6<\/td>\n<td>enable_user_profile: false<\/td>\n<td>\u5bf9\u8bdd\u8bb0\u5fc6\u5b58\u50a8\u4e0e\u68c0\u7d22<\/td>\n<td>\u652f\u6301\u6240\u6709\u6570\u636e\u5e93<\/td>\n<\/tr>\n<tr>\n<td>\u7528\u6237\u753b\u50cf<\/td>\n<td>enable_user_profile: true<\/td>\n<td>\u8bb0\u5fc6 &#043; \u81ea\u52a8\u63d0\u53d6\u7528\u6237\u753b\u50cf<\/td>\n<td>oceanbase\u3001seekdb\u3001sqlite<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7248\u672c\u8bf4\u660e&#xff1a;PowerMem 0.3.0&#043; \u7248\u672c&#xff0c;\u7528\u6237\u753b\u50cf\u529f\u80fd\u652f\u6301 OceanBase\u3001SeekDB\u3001SQLite \u4e09\u79cd\u5b58\u50a8\u540e\u7aef\u3002<\/p>\n<h4>\u6e90\u7801\u4e2d\u7684\u4e24\u79cd\u914d\u7f6e\u98ce\u683c<\/h4>\n<p>\u4ece powermem.py \u7684\u521d\u59cb\u5316\u903b\u8f91\u53ef\u4ee5\u770b\u51fa&#xff0c;PowerMem \u652f\u6301\u4e24\u79cd\u914d\u7f6e\u98ce\u683c&#xff0c;\u9879\u76ee\u4e2d\u5747\u5df2\u517c\u5bb9&#xff1a;<\/p>\n<li>powermem \u98ce\u683c&#xff1a;database\u3001llm\u3001embedding \u4e09\u6bb5\u5f0f\u914d\u7f6e&#xff1b;<\/li>\n<li>mem0 \u98ce\u683c&#xff1a;vector_store\u3001llm\u3001embedder \u4e09\u6bb5\u5f0f\u914d\u7f6e&#xff08;\u5373\u4e0a\u6587\u793a\u4f8b\u91c7\u7528\u7684\u5199\u6cd5&#xff09;\u3002<\/li>\n<p>\u89e3\u6790\u4f18\u5148\u7ea7\u4e3a&#xff1a;\u5982\u679c\u914d\u7f6e\u4e2d\u5df2\u5b58\u5728 vector_store \u5219\u76f4\u63a5\u91c7\u7528&#xff1b;\u5426\u5219\u56de\u9000\u5230 database&#xff1b;\u518d\u5426\u5219\u7531 database_provider&#xff08;\u9ed8\u8ba4 sqlite&#xff09;\u81ea\u52a8\u6784\u9020\u3002LLM \u4e0e Embedding \u540c\u7406&#xff0c;\u82e5\u672a\u63d0\u4f9b\u5d4c\u5957\u7684 llm\/embedder \u5bf9\u8c61&#xff0c;\u5219\u4ece llm_api_key\u3001llm_model\u3001dashscope_base_url\u3001openai_base_url \u7b49\u6241\u5e73\u5b57\u6bb5\u81ea\u52a8\u62fc\u88c5\u3002\u6b64\u5916&#xff0c;\u5bf9\u4e8e qwen \u63d0\u4f9b\u5546&#xff0c;base_url \u8d70 dashscope_base_url&#xff0c;\u5176\u4f59\u63d0\u4f9b\u5546\u8d70 openai_base_url&#xff0c;\u5bf9\u5e94\u5b57\u6bb5\u7684\u4f18\u5148\u7ea7\u4e3a embedding_xxx_base_url &gt; embedding_base_url &gt; xxx_base_url\u3002<\/p>\n<h3>\u56db\u79cd\u5178\u578b\u90e8\u7f72\u914d\u7f6e<\/h3>\n<h4>\u4f7f\u7528\u901a\u4e49\u5343\u95ee&#xff08;\u63a8\u8350&#xff09;<\/h4>\n<li>\u8bbf\u95ee\u963f\u91cc\u4e91\u767e\u70bc\u5e73\u53f0\u6ce8\u518c\u8d26\u53f7&#xff1b;<\/li>\n<li>\u5728 API Key \u7ba1\u7406\u9875\u9762\u83b7\u53d6 API \u5bc6\u94a5&#xff1b;<\/li>\n<li>\u914d\u7f6e\u5982\u4e0b&#xff1a;<\/li>\n<p>Memory:<br \/>\n  powermem:<br \/>\n    type: powermem<br \/>\n    enable_user_profile: true<br \/>\n    llm:<br \/>\n      provider: qwen<br \/>\n      config:<br \/>\n        api_key: sk-xxxxxxxxxxxxxxxx<br \/>\n        model: qwen-plus<br \/>\n    embedder:<br \/>\n      provider: openai<br \/>\n      config:<br \/>\n        api_key: sk-xxxxxxxxxxxxxxxx<br \/>\n        model: text-embedding-v4<br \/>\n        openai_base_url: https:\/\/dashscope.aliyuncs.com\/compatible-mode\/v1<br \/>\n    vector_store:<br \/>\n      provider: sqlite<br \/>\n      config: {}<\/p>\n<p>\u8bf4\u660e&#xff1a;\u901a\u4e49\u5343\u95ee\u7684\u6587\u672c\u6a21\u578b\u4e0e Embedding \u6a21\u578b&#xff08;text-embedding-v4&#xff09;\u5171\u7528\u767e\u70bc\u5e73\u53f0\u7684 API Key&#xff1b;Embedding \u901a\u8fc7 DashScope \u7684 OpenAI \u517c\u5bb9\u6a21\u5f0f\u8bbf\u95ee&#xff0c;\u56e0\u6b64 embedder.provider \u586b openai \u5e76\u6307\u5b9a openai_base_url \u4e3a\u767e\u70bc\u517c\u5bb9\u5730\u5740\u5373\u53ef\u3002<\/p>\n<h4>\u4f7f\u7528\u667a\u8c31\u514d\u8d39 LLM&#xff08;\u5b8c\u5168\u514d\u8d39\u65b9\u6848&#xff09;<\/h4>\n<p>\u667a\u8c31\u63d0\u4f9b\u514d\u8d39\u7684 glm-4-flash \u6a21\u578b&#xff0c;\u914d\u5408 SQLite \u53ef\u5b9e\u73b0\u5b8c\u5168\u514d\u8d39\u4f7f\u7528&#xff1a;<\/p>\n<li>\u8bbf\u95ee\u667a\u8c31 AI \u5f00\u653e\u5e73\u53f0\u6ce8\u518c\u8d26\u53f7&#xff1b;<\/li>\n<li>\u5728 API Keys \u9875\u9762\u83b7\u53d6 API \u5bc6\u94a5&#xff1b;<\/li>\n<li>\u914d\u7f6e\u5982\u4e0b&#xff1a;<\/li>\n<p>Memory:<br \/>\n  powermem:<br \/>\n    type: powermem<br \/>\n    enable_user_profile: true<br \/>\n    llm:<br \/>\n      provider: openai  # \u4f7f\u7528 openai \u517c\u5bb9\u6a21\u5f0f<br \/>\n      config:<br \/>\n        api_key: xxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxx<br \/>\n        model: glm-4-flash<br \/>\n        openai_base_url: https:\/\/open.bigmodel.cn\/api\/paas\/v4\/<br \/>\n    embedder:<br \/>\n      provider: openai<br \/>\n      config:<br \/>\n        api_key: xxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxx<br \/>\n        model: embedding-3<br \/>\n        openai_base_url: https:\/\/open.bigmodel.cn\/api\/paas\/v4\/<br \/>\n    vector_store:<br \/>\n      provider: sqlite<br \/>\n      config: {}<\/p>\n<h4>\u4f7f\u7528 OpenAI<\/h4>\n<p>Memory:<br \/>\n  powermem:<br \/>\n    type: powermem<br \/>\n    enable_user_profile: true<br \/>\n    llm:<br \/>\n      provider: openai<br \/>\n      config:<br \/>\n        api_key: sk-xxxxxxxxxxxxxxxx<br \/>\n        model: gpt-4o-mini<br \/>\n        openai_base_url: https:\/\/api.openai.com\/v1<br \/>\n    embedder:<br \/>\n      provider: openai<br \/>\n      config:<br \/>\n        api_key: sk-xxxxxxxxxxxxxxxx<br \/>\n        model: text-embedding-3-small<br \/>\n        openai_base_url: https:\/\/api.openai.com\/v1<br \/>\n    vector_store:<br \/>\n      provider: sqlite<br \/>\n      config: {}<\/p>\n<h4>\u4f7f\u7528 OceanBase&#xff08;\u6700\u4f73\u6027\u80fd\u65b9\u6848&#xff09;<\/h4>\n<p>OceanBase \u662f PowerMem \u7684\u6700\u4f73\u642d\u6863&#xff0c;\u53ef\u5b9e\u73b0\u6700\u5927\u6027\u80fd\u91ca\u653e\u3002\u90e8\u7f72\u65b9\u5f0f\u652f\u6301\u5f00\u6e90\u672c\u5730\u90e8\u7f72\u4e0e\u4e91\u670d\u52a1\u4e24\u79cd\u3002\u914d\u7f6e\u5982\u4e0b&#xff1a;<\/p>\n<p>Memory:<br \/>\n  powermem:<br \/>\n    type: powermem<br \/>\n    enable_user_profile: true<br \/>\n    llm:<br \/>\n      provider: qwen<br \/>\n      config:<br \/>\n        api_key: sk-xxxxxxxxxxxxxxxx<br \/>\n        model: qwen-plus<br \/>\n    embedder:<br \/>\n      provider: openai<br \/>\n      config:<br \/>\n        api_key: sk-xxxxxxxxxxxxxxxx<br \/>\n        model: text-embedding-v4<br \/>\n        openai_base_url: https:\/\/dashscope.aliyuncs.com\/compatible-mode\/v1<br \/>\n    vector_store:<br \/>\n      provider: oceanbase<br \/>\n      config:<br \/>\n        host: 127.0.0.1<br \/>\n        port: 2881<br \/>\n        user: root&#064;test<br \/>\n        password: your_password<br \/>\n        db_name: powermem<br \/>\n        collection_name: memories  # \u9ed8\u8ba4\u503c<br \/>\n        embedding_model_dims: 1536  # \u5d4c\u5165\u5411\u91cf\u7ef4\u5ea6&#xff0c;\u5fc5\u9700\u53c2\u6570<\/p>\n<p>\u6ce8\u610f\u4e24\u70b9&#xff1a;<\/p>\n<ul>\n<li>embedding_model_dims \u4e3a\u5fc5\u9700\u53c2\u6570&#xff0c;\u5fc5\u987b\u4e0e\u6240\u7528\u5d4c\u5165\u6a21\u578b\u7684\u8f93\u51fa\u7ef4\u5ea6\u4e00\u81f4\u3002\u4ed3\u5e93 config.yaml \u4e2d\u6709\u66f4\u5177\u4f53\u7684\u793a\u4f8b\u63d0\u793a&#xff1a;\u4ee5\u667a\u8c31\u4e3a\u4f8b&#xff0c;embedding-2 \u7684\u7ef4\u5ea6\u662f 1024&#xff0c;embedding-3 \u7684\u7ef4\u5ea6\u662f 2048&#xff1b;\u82e5\u521b\u5efa\u8868\u65f6\u7ef4\u5ea6\u9519\u8bef&#xff0c;\u9700\u5220\u9664 collection_name \u6307\u5b9a\u7684\u8868\u6216\u66f4\u6362\u8868\u540d\u91cd\u5efa\u3002<\/li>\n<li>embedding_dims&#xff08;LLM\/Embedding \u5c0f\u8282\u5185\u7684\u6ce8\u91ca\u9879&#xff09;\u7528\u4e8e\u975e 1536 \u7ef4\u5ea6\u7684\u5411\u91cf\u914d\u7f6e&#xff0c;\u4e0e OceanBase \u7684 embedding_model_dims \u9700\u4fdd\u6301\u4e00\u81f4\u3002<\/li>\n<\/ul>\n<h3>\u8bbe\u5907\u8bb0\u5fc6\u9694\u79bb<\/h3>\n<p>PowerMem \u4f1a\u81ea\u52a8\u4f7f\u7528\u8bbe\u5907 ID&#xff08;device_id&#xff09;\u4f5c\u4e3a user_id \u8fdb\u884c\u8bb0\u5fc6\u9694\u79bb\u3002\u8fd9\u610f\u5473\u7740&#xff1a;<\/p>\n<ul>\n<li>\u6bcf\u4e2a\u8bbe\u5907\u62e5\u6709\u72ec\u7acb\u7684\u8bb0\u5fc6\u7a7a\u95f4&#xff1b;<\/li>\n<li>\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u7684\u8bb0\u5fc6\u5b8c\u5168\u9694\u79bb&#xff1b;<\/li>\n<li>\u540c\u4e00\u8bbe\u5907\u7684\u591a\u6b21\u5bf9\u8bdd\u53ef\u4ee5\u5171\u4eab\u8bb0\u5fc6\u4e0a\u4e0b\u6587\u3002<\/li>\n<\/ul>\n<p>\u5728\u6e90\u7801\u5c42\u9762&#xff0c;\u8bb0\u5fc6\u63d0\u4f9b\u65b9\u7684 role_id \u7531 base.py \u7684 init_memory(role_id, llm) \u6ce8\u5165&#xff1b;powermem.py \u5728\u4fdd\u5b58\u8bb0\u5fc6\u65f6\u4ee5 self.role_id \u4f5c\u4e3a user_id \u8c03\u7528 PowerMem \u7684 add&#xff0c;\u67e5\u8be2\u65f6\u540c\u6837\u4ee5 self.role_id \u4f5c\u4e3a user_id \u8c03\u7528 search&#xff0c;\u4ece\u800c\u5b9e\u73b0&#034;\u6bcf\u53f0\u8bbe\u5907\u4e00\u4e2a\u72ec\u7acb\u8bb0\u5fc6\u7a7a\u95f4&#034;\u7684\u9694\u79bb\u8bed\u4e49\u3002<\/p>\n<h3>\u7528\u6237\u753b\u50cf&#xff08;UserMemory&#xff09;<\/h3>\n<p>PowerMem \u63d0\u4f9b UserMemory \u7c7b&#xff0c;\u53ef\u81ea\u52a8\u4ece\u5bf9\u8bdd\u4e2d\u63d0\u53d6\u7528\u6237\u753b\u50cf\u4fe1\u606f\u3002<\/p>\n<p>\u7248\u672c\u8bf4\u660e&#xff1a;PowerMem 0.3.0&#043; \u7248\u672c&#xff0c;\u7528\u6237\u753b\u50cf\u529f\u80fd\u652f\u6301 OceanBase\u3001SeekDB\u3001SQLite \u4e09\u79cd\u5b58\u50a8\u540e\u7aef\u3002<\/p>\n<h4>\u542f\u7528\u7528\u6237\u753b\u50cf<\/h4>\n<p>\u5728\u914d\u7f6e\u4e2d\u8bbe\u7f6e enable_user_profile: true \u5373\u53ef\u542f\u7528&#xff1a;<\/p>\n<p>Memory:<br \/>\n  powermem:<br \/>\n    type: powermem<br \/>\n    enable_user_profile: true  # \u542f\u7528\u7528\u6237\u753b\u50cf<br \/>\n    llm:<br \/>\n      provider: qwen<br \/>\n      config:<br \/>\n        api_key: sk-xxxxxxxxxxxxxxxx<br \/>\n        model: qwen-plus<br \/>\n    embedder:<br \/>\n      provider: openai<br \/>\n      config:<br \/>\n        api_key: sk-xxxxxxxxxxxxxxxx<br \/>\n        model: text-embedding-v4<br \/>\n        openai_base_url: https:\/\/dashscope.aliyuncs.com\/compatible-mode\/v1<br \/>\n    vector_store:<br \/>\n      provider: sqlite  # \u7528\u6237\u753b\u50cf\u652f\u6301: oceanbase\u3001seekdb\u3001sqlite<br \/>\n      config: {}<\/p>\n<h4>\u7528\u6237\u753b\u50cf\u80fd\u529b<\/h4>\n<table>\n<tr>\u80fd\u529b\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u4fe1\u606f\u63d0\u53d6<\/td>\n<td>\u81ea\u52a8\u4ece\u5bf9\u8bdd\u4e2d\u63d0\u53d6\u59d3\u540d\u3001\u5e74\u9f84\u3001\u804c\u4e1a\u3001\u5174\u8da3\u7b49<\/td>\n<\/tr>\n<tr>\n<td>\u6301\u7eed\u66f4\u65b0<\/td>\n<td>\u968f\u7740\u5bf9\u8bdd\u8fdb\u884c&#xff0c;\u4e0d\u65ad\u5b8c\u5584\u7528\u6237\u753b\u50cf<\/td>\n<\/tr>\n<tr>\n<td>\u753b\u50cf\u68c0\u7d22<\/td>\n<td>\u5c06\u7528\u6237\u753b\u50cf\u4e0e\u8bb0\u5fc6\u641c\u7d22\u7ed3\u5408&#xff0c;\u63d0\u5347\u68c0\u7d22\u76f8\u5173\u6027<\/td>\n<\/tr>\n<tr>\n<td>\u667a\u80fd\u9057\u5fd8<\/td>\n<td>\u57fa\u4e8e\u827e\u5bbe\u6d69\u65af\u9057\u5fd8\u66f2\u7ebf&#xff0c;\u6de1\u5316\u8fc7\u65f6\u4fe1\u606f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u5de5\u4f5c\u539f\u7406<\/h4>\n<p>\u542f\u7528\u7528\u6237\u753b\u50cf\u540e&#xff0c;\u5c0f\u667a\u5728\u67e5\u8be2\u8bb0\u5fc6\u65f6\u4f1a\u81ea\u52a8\u8fd4\u56de\u4e24\u7c7b\u5185\u5bb9&#xff1a;<\/p>\n<li>\u7528\u6237\u753b\u50cf&#xff1a;\u7528\u6237\u7684\u57fa\u672c\u4fe1\u606f\u3001\u5174\u8da3\u7231\u597d\u7b49&#xff1b;<\/li>\n<li>\u76f8\u5173\u8bb0\u5fc6&#xff1a;\u4e0e\u5f53\u524d\u5bf9\u8bdd\u76f8\u5173\u7684\u5386\u53f2\u8bb0\u5fc6\u3002<\/li>\n<h4>\u6e90\u7801\u7ea7\u5de5\u4f5c\u6d41\u7a0b<\/h4>\n<p>\u5728 powermem.py \u4e2d\u53ef\u4ee5\u5b8c\u6574\u770b\u5230\u7528\u6237\u753b\u50cf\u6a21\u5f0f\u7684\u5b9e\u73b0\u94fe\u8def&#xff1a;<\/p>\n<ul>\n<li>\u521d\u59cb\u5316&#xff08;\u7b2c 124-131 \u884c&#xff09;&#xff1a;enable_user_profile: true \u65f6\u5b9e\u4f8b\u5316 UserMemory&#xff08;\u540c\u6b65 SDK&#xff09;&#xff0c;\u5426\u5219\u5b9e\u4f8b\u5316 AsyncMemory&#xff08;\u5f02\u6b65 SDK&#xff09;&#xff0c;\u5e76\u628a\u6a21\u5f0f\u5199\u5165\u65e5\u5fd7&#xff1b;<\/li>\n<li>\u4fdd\u5b58\u8bb0\u5fc6&#xff08;\u7b2c 186-206 \u884c&#xff09;&#xff1a;UserMemory.add \u662f\u540c\u6b65\u63a5\u53e3&#xff0c;\u901a\u8fc7 asyncio.to_thread \u5305\u88c5\u4ee5\u907f\u514d\u963b\u585e\u4e8b\u4ef6\u5faa\u73af&#xff1b;\u82e5\u8fd4\u56de\u7ed3\u679c\u643a\u5e26 profile_extracted \u6807\u5fd7&#xff0c;\u5219\u628a\u65b0\u63d0\u53d6\u7684 profile_content \u7f13\u5b58\u5230 last_profile_content&#xff1b;<\/li>\n<li>\u67e5\u8be2\u8bb0\u5fc6&#xff08;\u7b2c 251-271 \u884c&#xff09;&#xff1a;\u5148\u8c03\u7528 get_user_profile() \u62fc\u88c5 \u3010\u7528\u6237\u753b\u50cf\u3011 \u6bb5&#xff0c;\u518d\u4ee5 limit&#061;30 \u641c\u7d22\u76f8\u5173\u8bb0\u5fc6&#xff0c;\u9010\u6761\u683c\u5f0f\u5316\u65f6\u95f4\u6233\u540e\u6309 updated_at\/created_at \u964d\u5e8f\u6392\u5217&#xff0c;\u8f93\u51fa \u3010\u76f8\u5173\u8bb0\u5fc6\u3011 \u6bb5&#xff1b;<\/li>\n<li>\u753b\u50cf\u83b7\u53d6&#xff08;\u7b2c 322-384 \u884c&#xff09;&#xff1a;\u91c7\u7528&#034;\u7f13\u5b58\u4f18\u5148&#034;\u7b56\u7565\u2014\u2014\u7f13\u5b58\u547d\u4e2d\u76f4\u63a5\u8fd4\u56de&#xff1b;\u7f13\u5b58\u4e3a\u7a7a\u65f6\u624d\u8c03\u7528 UserMemory.profile()&#xff0c;\u4f18\u5148\u53d6 profile_content&#xff0c;\u4e3a\u7a7a\u5219\u56de\u9000\u5230 topics \u5e76\u5e8f\u5217\u5316\u4e3a JSON \u5b57\u7b26\u4e32\u3002\u7f13\u5b58\u673a\u5236\u907f\u514d\u4e86\u6bcf\u6b21\u67e5\u8be2\u90fd\u53d1\u8d77\u4e00\u6b21\u753b\u50cf\u62c9\u53d6&#xff0c;\u662f\u67e5\u8be2\u6027\u80fd\u4f18\u5316\u7684\u5173\u952e\u3002<\/li>\n<\/ul>\n<p>\u53e6\u5916&#xff0c;\u4fdd\u5b58\u4e0e\u67e5\u8be2\u90fd\u4f1a\u5bf9 ASR \u8f93\u51fa\u7684 JSON \u683c\u5f0f\u5185\u5bb9&#xff08;\u5982\u5e26\u60c5\u7eea\/\u8bed\u8a00\u6807\u7b7e\u7684\u8bc6\u522b\u7ed3\u679c&#xff09;\u505a\u4e00\u6b21\u89e3\u6790&#xff0c;\u63d0\u53d6\u5176\u4e2d\u7684 content \u5b57\u6bb5\u540e\u518d\u4ea4\u7ed9 PowerMem&#xff0c;\u786e\u4fdd\u8bb0\u5fc6\u5185\u5bb9\u662f\u7eaf\u6587\u672c\u3002<\/p>\n<h3>\u4e0e\u5176\u4ed6\u8bb0\u5fc6\u7ec4\u4ef6\u7684\u5bf9\u6bd4<\/h3>\n<table>\n<tr>\u7279\u6027PowerMemmem0aimem_local_short<\/tr>\n<tbody>\n<tr>\n<td>\u5de5\u4f5c\u65b9\u5f0f<\/td>\n<td>\u672c\u5730\u603b\u7ed3<\/td>\n<td>\u4e91\u7aef\u63a5\u53e3<\/td>\n<td>\u672c\u5730\u603b\u7ed3<\/td>\n<\/tr>\n<tr>\n<td>\u5b58\u50a8\u4f4d\u7f6e<\/td>\n<td>\u672c\u5730\/\u4e91\u7aefDB<\/td>\n<td>\u4e91\u7aef<\/td>\n<td>\u672c\u5730YAML<\/td>\n<\/tr>\n<tr>\n<td>\u8d39\u7528<\/td>\n<td>\u53d6\u51b3\u4e8eLLM\u548cDB<\/td>\n<td>1000\u6b21\/\u6708\u514d\u8d39<\/td>\n<td>\u5b8c\u5168\u514d\u8d39<\/td>\n<\/tr>\n<tr>\n<td>\u667a\u80fd\u68c0\u7d22<\/td>\n<td>\u5411\u91cf\u641c\u7d22<\/td>\n<td>\u5411\u91cf\u641c\u7d22<\/td>\n<td>\u5168\u91cf\u8fd4\u56de<\/td>\n<\/tr>\n<tr>\n<td>\u7528\u6237\u753b\u50cf<\/td>\n<td>UserMemory<\/td>\n<td>\u4e0d\u652f\u6301<\/td>\n<td>\u4e0d\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td>\u667a\u80fd\u9057\u5fd8<\/td>\n<td>\u9057\u5fd8\u66f2\u7ebf<\/td>\n<td>\u4e0d\u652f\u6301<\/td>\n<td>\u4e0d\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td>\u79c1\u6709\u90e8\u7f72<\/td>\n<td>\u652f\u6301<\/td>\n<td>\u4ec5\u4e91\u7aef<\/td>\n<td>\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5e93\u652f\u6301<\/td>\n<td>OceanBase(\u63a8\u8350)\/SeekDB\/PostgreSQL\/SQLite<\/td>\n<td>&#8211;<\/td>\n<td>YAML \u6587\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ece\u4ed3\u5e93 config.yaml \u770b&#xff0c;Memory \u8282\u4e0b\u540c\u65f6\u9884\u7f6e\u4e86 mem0ai\u3001powermem\u3001nomem\u3001mem_local_short \u56db\u79cd\u63d0\u4f9b\u65b9&#xff0c;\u6309\u9700\u5728 selected_module.Memory \u4e2d\u5207\u6362\u5373\u53ef\u3002\u9009\u62e9\u5efa\u8bae&#xff1a;\u6ce8\u91cd\u9690\u79c1\u9009 mem_local_short&#xff1b;\u9700\u8981\u6301\u4e45\u5316\u5411\u91cf\u8bb0\u5fc6\u4e14\u53ef\u63a7\u6210\u672c\u9009 powermem&#xff1b;nomem \u5219\u5b8c\u5168\u5173\u95ed\u8bb0\u5fc6\u3002<\/p>\n<h3>\u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h3>\n<h4>1. API \u5bc6\u94a5\u9519\u8bef<\/h4>\n<p>\u5982\u679c\u51fa\u73b0 API key is required \u9519\u8bef&#xff0c;\u8bf7\u68c0\u67e5&#xff1a;<\/p>\n<ul>\n<li>llm.config.api_key \u4e0e embedder.config.api_key \u662f\u5426\u6b63\u786e\u586b\u5199&#xff1b;<\/li>\n<li>API \u5bc6\u94a5\u662f\u5426\u6709\u6548&#xff08;\u6ce8\u610f\u901a\u4e49\u5343\u95ee\u4e0e\u667a\u8c31\u7684 Key \u683c\u5f0f\u4e0d\u540c&#xff09;\u3002<\/li>\n<\/ul>\n<h4>2. \u6a21\u578b\u4e0d\u5b58\u5728<\/h4>\n<p>\u5982\u679c\u51fa\u73b0\u6a21\u578b\u4e0d\u5b58\u5728\u7684\u9519\u8bef&#xff0c;\u8bf7\u786e\u8ba4&#xff1a;<\/p>\n<ul>\n<li>llm.config.model \u4e0e embedder.config.model \u540d\u79f0\u662f\u5426\u6b63\u786e&#xff1b;<\/li>\n<li>\u5bf9\u5e94\u7684\u6a21\u578b\u670d\u52a1\u662f\u5426\u5df2\u5f00\u901a&#xff08;\u5982\u901a\u4e49\u5343\u95ee\u7684 text-embedding-v4\u3001\u667a\u8c31\u7684 embedding-3 \u9700\u5728\u5e73\u53f0\u5f00\u901a\u76f8\u5e94\u6743\u9650&#xff09;\u3002<\/li>\n<\/ul>\n<h4>3. \u8fde\u63a5\u8d85\u65f6<\/h4>\n<p>\u5982\u679c\u51fa\u73b0\u8fde\u63a5\u8d85\u65f6&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5&#xff1a;<\/p>\n<ul>\n<li>\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5&#xff1b;<\/li>\n<li>\u5982\u679c\u4f7f\u7528\u4ee3\u7406&#xff0c;\u4e3a llm \u4e0e embedder \u5206\u522b\u914d\u7f6e openai_base_url&#xff08;\u6216 qwen \u573a\u666f\u7684 dashscope_base_url&#xff09;\u3002<\/li>\n<\/ul>\n<h4>4. \u521d\u59cb\u5316\u5931\u8d25\u65f6\u6392\u67e5<\/h4>\n<p>powermem.py \u5bf9\u4e24\u7c7b\u521d\u59cb\u5316\u5931\u8d25\u505a\u4e86\u533a\u5206&#xff1a;ImportError \u63d0\u793a&#034;PowerMem not installed. Please install with: pip install powermem&#034;&#xff0c;\u5176\u4ed6\u5f02\u5e38\u5219\u8f93\u51fa Failed to initialize PowerMem \u53ca\u8be6\u7ec6\u5806\u6808\u3002\u521d\u59cb\u5316\u5931\u8d25\u65f6 use_powermem \u4f1a\u88ab\u7f6e\u4e3a False&#xff0c;\u540e\u7eed save_memory\/query_memory \u4f1a\u6253\u5370\u8b66\u544a\u5e76\u5b89\u5168\u8df3\u8fc7&#xff0c;\u4e0d\u4f1a\u5bfc\u81f4\u670d\u52a1\u5d29\u6e83\u2014\u2014\u8fd9\u662f&#034;\u8bb0\u5fc6\u7ec4\u4ef6\u964d\u7ea7\u53ef\u7528&#034;\u7684\u5bb9\u9519\u8bbe\u8ba1\u3002<\/p>\n<h3>\u6d4b\u8bd5\u9a8c\u8bc1<\/h3>\n<p>\u53ef\u4ee5\u5728\u865a\u62df\u73af\u5883\u4e2d\u6d4b\u8bd5 PowerMem \u662f\u5426\u6b63\u5e38\u5de5\u4f5c&#xff1a;<\/p>\n<p># \u6fc0\u6d3b\u865a\u62df\u73af\u5883<br \/>\nsource .venv\/bin\/activate<\/p>\n<p># \u6d4b\u8bd5 PowerMem \u5bfc\u5165<br \/>\npython -c &#034;from powermem import AsyncMemory; print(&#039;PowerMem \u5bfc\u5165\u6210\u529f&#039;)&#034;<\/p>\n<p># \u6d4b\u8bd5 UserMemory \u5bfc\u5165&#xff08;\u7528\u6237\u753b\u50cf\u529f\u80fd&#xff09;<br \/>\npython -c &#034;from powermem import UserMemory; print(&#039;UserMemory \u5bfc\u5165\u6210\u529f&#039;)&#034;<\/p>\n<p>\u4ed3\u5e93\u8fd8\u63d0\u4f9b\u4e86\u9488\u5bf9\u8bb0\u5fc6\u94fe\u8def\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5 test_memory.py&#xff1a;<\/p>\n<ul>\n<li>\u9ed8\u8ba4 Mock \u6a21\u5f0f\u4ece\u914d\u7f6e\u6784\u9020\u771f\u5b9e provider&#xff0c;\u4f46\u5916\u90e8 SDK \u8c03\u7528\u8d70 shim&#xff0c;\u4e0d\u4f1a\u771f\u6b63\u53d1\u8d77\u8bf7\u6c42&#xff1b;<\/li>\n<li>\u6d4b\u8bd5 test_memory_provider_constructs_from_config \u6821\u9a8c provider \u80fd\u4ece\u914d\u7f6e\u5b9e\u4f8b\u5316\u4e14\u5c5e\u4e8e MemoryProviderBase&#xff1b;<\/li>\n<li>\u6d4b\u8bd5 test_memory_provider_exposes_save_and_query \u6821\u9a8c provider \u5fc5\u987b\u5b9e\u73b0 save_memory \/ query_memory \u4e24\u4e2a\u63a5\u53e3&#xff08;\u4e0e base.py \u7684\u62bd\u8c61\u65b9\u6cd5\u7ea6\u5b9a\u4e00\u81f4&#xff09;&#xff1b;<\/li>\n<li>\u6d4b\u8bd5 test_memory_save_and_query_roundtrip \u9a8c\u8bc1 save \u540e query \u4e0d\u629b\u5f02\u5e38&#xff1b;<\/li>\n<li>\u82e5\u9700\u8c03\u7528\u771f\u5b9e\u8bb0\u5fc6\u670d\u52a1&#xff0c;\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf RUN_LIVE_API_TESTS&#061;1 \u5373\u53ef\u5207\u6362\u5230 Live \u6a21\u5f0f\u3002<\/li>\n<\/ul>\n<h3>\u8fdb\u4e00\u6b65\u9605\u8bfb<\/h3>\n<ul>\n<li>\u63d0\u4f9b\u65b9\u5b9e\u73b0&#xff1a;powermem.py<\/li>\n<li>\u8bb0\u5fc6\u57fa\u7c7b\u4e0e\u63a5\u53e3\u7ea6\u5b9a&#xff1a;base.py<\/li>\n<li>\u52a8\u6001\u52a0\u8f7d\u673a\u5236&#xff1a;memory.py<\/li>\n<li>\u5b8c\u6574\u914d\u7f6e\u793a\u4f8b&#xff1a;config.yaml<\/li>\n<li>\u4f9d\u8d56\u58f0\u660e&#xff1a;requirements.txt<\/li>\n<li>\u8bb0\u5fc6\u94fe\u8def\u6d4b\u8bd5&#xff1a;test_memory.py<\/li>\n<li>\u5176\u4ed6\u8bb0\u5fc6\u7ec4\u4ef6&#xff1a;mem0ai \u4e0e mem_local_short \u4f4d\u4e8e memory \u76ee\u5f55 \u4e0b\u7684\u540c\u540d\u5b50\u76ee\u5f55\u4e2d&#xff0c;\u53ef\u5bf9\u6bd4\u9605\u8bfb\u5b9e\u73b0\u5dee\u5f02\u3002<\/li>\n<\/ul>\n<p>  <img loading=\"lazy\" decoding=\"async\" class=\"gcb-icon-like\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260930130936-6abd0a10d7c61.svg\" alt=\"\" width=\"16\" height=\"16\" \/> <span class=\"gcb-like-text\">\u8d5e<\/span>  <\/p>\n<p>   <span class=\"gcb-share-text\">\u5206\u4eab<\/span>  <\/p>\n<ul class=\"gcb-tag-list\">\n<li><span class=\"gcb-tag\">\u540e\u7aef<\/span><\/li>\n<li><span class=\"gcb-tag\">\u7269\u8054\u7f51<\/span><\/li>\n<li><span class=\"gcb-tag\">\u8bed\u97f3<\/span><\/li>\n<li><span class=\"gcb-tag\">\u4eba\u5de5\u667a\u80fd<\/span><\/li>\n<li><span class=\"gcb-tag\">AI \u5e94\u7528<\/span><\/li>\n<li><span class=\"gcb-tag\">AI Agent<\/span><\/li>\n<li><span class=\"gcb-tag\">RAG<\/span><\/li>\n<\/ul>\n<h3 class=\"gcb-project-title\">\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011xiaozhi-esp32-server<\/h3>\n<p class=\"gcb-project-desc\">\u672c\u9879\u76ee\u4e3axiaozhi-esp32\u63d0\u4f9b\u540e\u7aef\u670d\u52a1&#xff0c;\u5e2e\u52a9\u60a8\u5feb\u901f\u642d\u5efaESP32\u8bbe\u5907\u63a7\u5236\u670d\u52a1\u5668\u3002Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.<\/p>\n<p>    <span class=\"gcb-project-addr-label\">\u9879\u76ee\u5730\u5740&#xff1a;<\/span><br \/>\n    <span class=\"gcb-project-addr-link\">https:\/\/gitcode.com\/gh_mirrors\/xia\/xiaozhi-esp32-server<\/span> <\/p>\n<p>  <span class=\"gcb-project-btn\"> <span class=\"gcb-project-btn-main\">\u70b9\u51fb\u67e5\u770b<\/span> <span class=\"gcb-project-btn-sub\">\u514d\u8d39\u4e0b\u8f7d<\/span> <\/span> <\/p>\n<h4 class=\"gcb-related-title\">\u76f8\u5173\u63a8\u8350<\/h4>\n<ul class=\"gcb-related-list\">\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">Homepage \u96c6\u6210 Channels DVR Server \u670d\u52a1\u7ec4\u4ef6&#xff1a;\u914d\u7f6e\u3001\u6570\u636e\u6307\u6807\u4e0e\u6e90\u7801\u7ea7\u539f\u7406\u89e3\u6790<\/h5>\n<p class=\"gcb-related-item-desc\">Homepage \u96c6\u6210 Channels DVR Server \u670d\u52a1\u7ec4\u4ef6&#xff1a;\u914d\u7f6e\u3001\u6570\u636e\u6307\u6807\u4e0e\u6e90\u7801\u7ea7\u539f\u7406\u89e3\u6790 Channels DVR Server \u662f Homep<\/p>\n<p>     <span class=\"gcb-tag\">\u524d\u7aef<\/span>\n      <\/li>\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">Apache APISIX \u96c6\u6210 Nacos \u670d\u52a1\u53d1\u73b0&#xff1a;\u4ece\u914d\u7f6e\u5230\u6e90\u7801\u7ea7\u539f\u7406<\/h5>\n<p class=\"gcb-related-item-desc\">Apache APISIX \u96c6\u6210 Nacos \u670d\u52a1\u53d1\u73b0&#xff1a;\u4ece\u914d\u7f6e\u5230\u6e90\u7801\u7ea7\u539f\u7406 \u5bfc\u8bfb&#xff1a;\u672c\u6587\u4ee5 Apache APISIX \u5b98\u65b9\u6587\u6863 docs\/en\/latest\/d<\/p>\n<p>     <span class=\"gcb-tag\">API\u7f51\u5173<\/span><br \/>\n     <span class=\"gcb-tag\">\u540e\u7aef<\/span><br \/>\n     <span class=\"gcb-tag\">\u4e91\u539f\u751f<\/span><br \/>\n     <span class=\"gcb-tag\">\u5fae\u670d\u52a1<\/span>\n      <\/li>\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">Homepage \u96c6\u6210 Gotify \u670d\u52a1\u7ec4\u4ef6&#xff1a;\u914d\u7f6e\u6307\u5357\u4e0e\u6e90\u7801\u7ea7\u5b9e\u73b0\u89e3\u6790<\/h5>\n<p class=\"gcb-related-item-desc\">Homepage \u96c6\u6210 Gotify \u670d\u52a1\u7ec4\u4ef6&#xff1a;\u914d\u7f6e\u6307\u5357\u4e0e\u6e90\u7801\u7ea7\u5b9e\u73b0\u89e3\u6790 Gotify \u662f\u4e00\u6b3e\u81ea\u6258\u7ba1\u7684\u8f7b\u91cf\u7ea7\u6d88\u606f\u63a8\u9001\u670d\u52a1&#xff0c;\u901a\u5e38\u4e0e\u5404\u7c7b\u81ea\u52a8\u5316\u4efb\u52a1\u3001\u76d1\u63a7\u544a\u8b66\u534f\u540c\u4f7f\u7528<\/p>\n<p>     <span class=\"gcb-tag\">\u524d\u7aef<\/span>\n      <\/li>\n<\/ul>\n<p>  <span class=\"gcb-prev-next-label\">\u4e0a\u4e00\u7bc7&#xff1a;<\/span><br \/>\n  \u864e\u7b26\u53f0\u7ec8\u6781\u6307\u5357&#xff1a;\u4e09\u6b65\u5feb\u901f\u638c\u63e1\u5168\u9762\u6218\u4e89MOD\u7ba1\u7406\u795e\u5668 <\/p>\n<p>  <span class=\"gcb-prev-next-label\">\u4e0b\u4e00\u7bc7&#xff1a;<\/span><br \/>\n   BongoCat\u81ea\u5b9a\u4e49\u6a21\u578b\u5feb\u901f\u4e0a\u624b\u6307\u5357 <\/p>\n<p>\u521b\u4f5c\u58f0\u660e\uff1a\u672c\u6587\u90e8\u5206\u5185\u5bb9\u7531AI\u8f85\u52a9\u751f\u6210\uff08AIGC\uff09\uff0c\u4ec5\u4f9b\u53c2\u8003<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u540e\u7aef\u7269\u8054\u7f51\u8bed\u97f3\u4eba\u5de5\u667a\u80fdAI \u5e94\u7528AI AgentRAG \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011xiaozhi-esp32-server \u672c\u9879\u76ee\u4e3axiaozhi-esp32\u63d0\u4f9b\u540e\u7aef\u670d\u52a1&#xff0c;\u5e2e\u52a9\u60a8\u5feb\u901f\u642d\u5efaESP32\u8bbe\u5907\u63a7\u5236\u670d\u52a1\u5668\u3002Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server. \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirro<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-111292","post","type-post","status-publish","format-standard","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/111292.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u540e\u7aef\u7269\u8054\u7f51\u8bed\u97f3\u4eba\u5de5\u667a\u80fdAI \u5e94\u7528AI AgentRAG \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011xiaozhi-esp32-server \u672c\u9879\u76ee\u4e3axiaozhi-esp32\u63d0\u4f9b\u540e\u7aef\u670d\u52a1&#xff0c;\u5e2e\u52a9\u60a8\u5feb\u901f\u642d\u5efaESP32\u8bbe\u5907\u63a7\u5236\u670d\u52a1\u5668\u3002Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server. \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirro\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/111292.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-30T13:09:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260930130936-6abd0a10d7c61.svg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/111292.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/111292.html\",\"name\":\"\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-30T13:09:37+00:00\",\"dateModified\":\"2026-09-30T13:09:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/111292.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/111292.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/111292.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/111292.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u540e\u7aef\u7269\u8054\u7f51\u8bed\u97f3\u4eba\u5de5\u667a\u80fdAI \u5e94\u7528AI AgentRAG \u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011xiaozhi-esp32-server \u672c\u9879\u76ee\u4e3axiaozhi-esp32\u63d0\u4f9b\u540e\u7aef\u670d\u52a1&#xff0c;\u5e2e\u52a9\u60a8\u5feb\u901f\u642d\u5efaESP32\u8bbe\u5907\u63a7\u5236\u670d\u52a1\u5668\u3002Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server. \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirro","og_url":"https:\/\/www.wsisp.com\/helps\/111292.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-30T13:09:37+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260930130936-6abd0a10d7c61.svg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/111292.html","url":"https:\/\/www.wsisp.com\/helps\/111292.html","name":"\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-30T13:09:37+00:00","dateModified":"2026-09-30T13:09:37+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/111292.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/111292.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/111292.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5c0f\u667a ESP32 \u670d\u52a1\u5668\u96c6\u6210 PowerMem \u8bb0\u5fc6\u7ec4\u4ef6\uff1a\u914d\u7f6e\u3001\u7528\u6237\u753b\u50cf\u4e0e\u6e90\u7801\u7ea7\u539f\u7406"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/111292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=111292"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/111292\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=111292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=111292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=111292"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=111292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}