Class BailianSearchResponse

java.lang.Object
io.agentscope.core.memory.bailian.BailianSearchResponse

public class BailianSearchResponse extends Object
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 Details

    • BailianSearchResponse

      public BailianSearchResponse()
      Default constructor for Jackson.
  • Method Details

    • getRequestId

      public String getRequestId()
      Gets the request ID.
      Returns:
      the request ID
    • setRequestId

      public void setRequestId(String requestId)
      Sets the request ID.
      Parameters:
      requestId - the request ID
    • getMemoryNodes

      public List<BailianMemoryNode> getMemoryNodes()
      Gets the memory nodes.
      Returns:
      the memory nodes list
    • setMemoryNodes

      public void setMemoryNodes(List<BailianMemoryNode> memoryNodes)
      Sets the memory nodes.
      Parameters:
      memoryNodes - the memory nodes list