Administrator
2025-09-04 46a2e8027a053d4ba7a4dfe357e562c9b41a1047
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package cc.mrbird.febs.ai.strategy.enumerates;
 
import lombok.Getter;
 
/**
 * @author Administrator
 */
 
@Getter
public enum LlmStrategyEnum {
 
 
    ALI_APPLICATION(3,"AliApplicationLlmStrategyServiceImpl","阿里百炼工作流"),
    ALI(2,"AliLlmStrategyService","阿里百炼大模型"),
    HS(1,"HsLlmStrategyService","火山大模型");
 
    private final int code;
    private final String name;
    private final String value;
 
    LlmStrategyEnum(int code,String name,String value) {
 
        this.code = code;
        this.name = name;
        this.value = value;
    }
 
    public static String getName(int code) {
        for (LlmStrategyEnum c : LlmStrategyEnum.values()) {
            if (c.code == code) {
                return c.name;
            }
        }
        return null;
    }
}