4 天以前 83e1b4d0e661f11a407fd6ea86e906b9b87b7180
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config/YudaoAiProperties.java
@@ -5,262 +5,17 @@
/**
 * 芋道 AI 配置类
 *
 * @author fansili
 * @since 1.0
 */
@ConfigurationProperties(prefix = "yudao.ai")
@Data
public class YudaoAiProperties {
    /**
     * 字节豆包
     */
    private DouBao doubao;
    /**
     * 腾讯混元
     */
    private HunYuan hunyuan;
    /**
     * 硅基流动
     */
    private SiliconFlow siliconflow;
    /**
     * 讯飞星火
     */
    private XingHuo xinghuo;
    /**
     * 百川
     */
    private BaiChuan baichuan;
    /**
     * 文心一言
     */
    private YiYan yiyan;
    /**
     * 智谱
     */
    private ZhiPu zhipu;
    /**
     * MiniMax
     */
    private MiniMax minimax;
    /**
     * 月之暗面
     */
    private Moonshot moonshot;
    /**
     * 阶跃星辰
     */
    private StepFun stepfun;
    /**
     * Grok
     */
    private Grok grok;
    /**
     * Midjourney 绘图
     */
    private Midjourney midjourney;
    /**
     * Suno 音乐
     */
    @SuppressWarnings("SpellCheckingInspection")
    private Suno suno;
    /**
     * 网络搜索
     */
    private WebSearch webSearch;
    @Data
    public static class DouBao {
        private String enable;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class HunYuan {
        private String enable;
        private String baseUrl;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class SiliconFlow {
        private String enable;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class XingHuo {
        private String enable;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class BaiChuan {
        private String enable;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class YiYan {
        private String enable;
        private String baseUrl;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class ZhiPu {
        private String enable;
        private String baseUrl;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class MiniMax {
        private String enable;
        private String baseUrl;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class Moonshot {
        private String enable;
        private String baseUrl;
        private String apiKey;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class Midjourney {
        private String enable;
        private String baseUrl;
        private String apiKey;
        private String notifyUrl;
    }
    @Data
    public static class Suno {
        private boolean enable;
        private String baseUrl;
    }
    @Data
    public static class Grok {
        private String enable;
        private String apiKey;
        private String baseUrl;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class StepFun {
        private String enable;
        private String apiKey;
        private String baseUrl;
        private String model;
        private Double temperature;
        private Integer maxTokens;
        private Double topP;
    }
    @Data
    public static class WebSearch {
        private boolean enable;
        private String apiKey;
    }
}