-
Notifications
You must be signed in to change notification settings - Fork 384
Open
Labels
bugSomething isn't workingSomething isn't working
Description
使用阿里云的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版本可以检索记忆
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog