LlmToolRequest.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.telerobot.fs.entity.pojo;
  2. import com.alibaba.fastjson.JSON;
  3. import com.alibaba.fastjson.JSONObject;
  4. import com.telerobot.fs.config.SystemConfig;
  5. import com.telerobot.fs.utils.RegExp;
  6. import java.util.List;
  7. public class LlmToolRequest {
  8. public static final String TRANSFER_TO_AGENT = "transferToAgent";
  9. public static final String TRANSFER_TO_TEL = "transferToTel";
  10. public static final String TRANSFER_TO_TEL_REGEXP = "transferToTel\\D{1,4}\\d{1,12}";
  11. public static final String HANGUP = "hangupCall";
  12. public static final String KB_QUERY = "kbQuery";
  13. private String tool;
  14. private JSONObject arguments;
  15. private String content;
  16. public String getTool() {
  17. return tool;
  18. }
  19. public void setTool(String tool) {
  20. this.tool = tool;
  21. }
  22. public JSONObject getArguments() {
  23. return arguments;
  24. }
  25. public void setArguments(JSONObject arguments) {
  26. this.arguments = arguments;
  27. }
  28. public String getContent() {
  29. return content;
  30. }
  31. public void setContent(String content) {
  32. this.content = content;
  33. }
  34. }