XfXhConfig.java 633 B

12345678910111213141516171819202122
  1. package org.lp.medicalai.config;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.context.annotation.Configuration;
  5. @Data
  6. @Configuration
  7. @ConfigurationProperties(prefix = "xfxh")
  8. public class XfXhConfig {
  9. private String hostUrl;
  10. private String domain;
  11. private Float temperature;
  12. private Integer maxTokens;
  13. private String appId;
  14. private String apiKey;
  15. private String apiSecret;
  16. private Integer maxInteractCount;
  17. private Integer maxUserCount;
  18. private Integer userRecordMaxStatus;
  19. private Integer maxResponseTime;
  20. }