Class BailianAddResponse

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

public class BailianAddResponse extends Object
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.

  • Constructor Details

    • BailianAddResponse

      public BailianAddResponse()
      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<BailianAddResponse.BailianMemoryNode> getMemoryNodes()
      Gets the memory nodes.
      Returns:
      the memory nodes list
    • setMemoryNodes

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