Class BailianSearchResponse
java.lang.Object
io.agentscope.core.memory.bailian.BailianSearchResponse
Response object from Bailian Memory API's search memory operation.
This response is returned from the POST /api/v2/apps/memory/memory_nodes/search endpoint after performing a semantic search. It contains a list of memory nodes ordered by relevance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the memory nodes.Gets the request ID.voidsetMemoryNodes(List<BailianMemoryNode> memoryNodes) Sets the memory nodes.voidsetRequestId(String requestId) Sets the request ID.
-
Constructor Details
-
BailianSearchResponse
public BailianSearchResponse()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
-