Class BailianAddResponse
java.lang.Object
io.agentscope.core.memory.bailian.BailianAddResponse
Response object from Bailian Memory API's add memory operation.
This response is returned from the POST /api/v2/apps/memory/add endpoint after successfully adding memories. It contains the extracted memories and the request ID.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a memory node in the response. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the memory nodes.Gets the request ID.voidsetMemoryNodes(List<BailianAddResponse.BailianMemoryNode> memoryNodes) Sets the memory nodes.voidsetRequestId(String requestId) Sets the request ID.
-
Constructor Details
-
BailianAddResponse
public BailianAddResponse()Default constructor for Jackson.
-
-
Method Details
-
getRequestId
Gets the request ID.- Returns:
- the request ID
-
setRequestId
Sets the request ID.- Parameters:
requestId- the request ID
-
getMemoryNodes
Gets the memory nodes.- Returns:
- the memory nodes list
-
setMemoryNodes
Sets the memory nodes.- Parameters:
memoryNodes- the memory nodes list
-