PolicyReq.java 996 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package com.slibra.business.req;
  2. import com.alibaba.fastjson2.annotation.JSONField;
  3. import lombok.AllArgsConstructor;
  4. import lombok.Builder;
  5. import lombok.Data;
  6. import lombok.NoArgsConstructor;
  7. import java.util.Map;
  8. @Data
  9. @Builder
  10. @AllArgsConstructor
  11. @NoArgsConstructor
  12. public class PolicyReq {
  13. @JSONField(name = "bot_id")
  14. private String botId = "b00001";
  15. @JSONField(name = "exp_id")
  16. private String expId = "721";
  17. @JSONField(name = "norm")
  18. private String norm;
  19. @JSONField(name = "feedback")
  20. private Map<String, Object> feedback;
  21. @JSONField(name = "simulate")
  22. private Map<String, Object> simulate;
  23. @JSONField(name = "session_id")
  24. private String sessionId;
  25. @JSONField(name = "generate_args")
  26. private GenerateArgs generateArgs = new GenerateArgs();
  27. @JSONField(name = "extra")
  28. private Map<String, Object> extra;
  29. //2024年7月3日16:18:48 新增参数
  30. @JSONField(name = "tools")
  31. private String tools = "true";
  32. }