Skip to content

[Bug]:polarDB构建的mem0 没有检索返回 #916

@zhangminxiaozhang

Description

@zhangminxiaozhang

使用阿里云的polarDB构建的mem0,用AgentScope框架可以记录记忆,但是检索记忆没有返回值。
构建
Mem0LongTermMemory memory = Mem0LongTermMemory.builder() .apiBaseUrl("xxx") .apiKey("xxx") .userId("user124") .apiType(Mem0ApiType.PLATFORM) .build();
检索
Msg query = Msg.builder()
.role(MsgRole.USER)
.textContent("我喜欢足球")
.build();

String retrievedMemories = memory.retrieve(query).block();
用mem0的python版本可以检索记忆

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions