File tree Expand file tree Collapse file tree 2 files changed +54
-1
lines changed
src/Cnblogs.DashScope.Sdk/QWen Expand file tree Collapse file tree 2 files changed +54
-1
lines changed Original file line number Diff line number Diff line change @@ -28,5 +28,50 @@ public enum QWenLlm
2828 /// <summary>
2929 /// qwen-max-longcontext, input token limit is 28k.
3030 /// </summary>
31- QWenMaxLongContext = 5
31+ QWenMaxLongContext = 5 ,
32+
33+ /// <summary>
34+ /// qwen1.5-72b-chat, input token limit is 30k.
35+ /// </summary>
36+ // ReSharper disable once InconsistentNaming
37+ QWen1_5_72BChat = 6 ,
38+
39+ /// <summary>
40+ /// qwen1.5-14b-chat, input token limit is 6k.
41+ /// </summary>
42+ // ReSharper disable once InconsistentNaming
43+ QWen1_5_14BChat = 7 ,
44+
45+ /// <summary>
46+ /// qwen1.5-7b-chat, input token limit is 6k.
47+ /// </summary>
48+ // ReSharper disable once InconsistentNaming
49+ QWen1_5_7BChat = 8 ,
50+
51+ /// <summary>
52+ /// qwen-72b-chat, input token limit is 30k.
53+ /// </summary>
54+ QWen72BChat = 9 ,
55+
56+ /// <summary>
57+ /// qwen-14b-chat, input token limit is 6k.
58+ /// </summary>
59+ QWen14BChat = 10 ,
60+
61+ /// <summary>
62+ /// qwen-7b-chat, input token limit is 6k.
63+ /// </summary>
64+ QWen7BChat = 11 ,
65+
66+ /// <summary>
67+ /// qwen-1.8b-longcontext-chat, input token limit is 30k.
68+ /// </summary>
69+ // ReSharper disable once InconsistentNaming
70+ QWen1_8BLongContextChat = 12 ,
71+
72+ /// <summary>
73+ /// qwen-1.8b-chat, input token limit is 6k.
74+ /// </summary>
75+ // ReSharper disable once InconsistentNaming
76+ QWen1_8Chat = 13
3277}
Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ public static string GetModelName(this QWenLlm llm)
1111 QWenLlm . QWenMax => "qwen-max" ,
1212 QWenLlm . QWenMax1201 => "qwen-max-1201" ,
1313 QWenLlm . QWenMaxLongContext => "qwen-max-longcontext" ,
14+ QWenLlm . QWen1_5_72BChat => "qwen1.5-72b-chat" ,
15+ QWenLlm . QWen1_5_14BChat => "qwen1.5-14b-chat" ,
16+ QWenLlm . QWen1_5_7BChat => "qwen1.5-7b-chat" ,
17+ QWenLlm . QWen72BChat => "qwen-72b-chat" ,
18+ QWenLlm . QWen14BChat => "qwen-14b-chat" ,
19+ QWenLlm . QWen7BChat => "qwen-7b-chat" ,
20+ QWenLlm . QWen1_8BLongContextChat => "qwen-1.8b-longcontext-chat" ,
21+ QWenLlm . QWen1_8Chat => "qwen-1.8b-chat" ,
1422 _ => throw new ArgumentOutOfRangeException (
1523 nameof ( llm ) ,
1624 llm ,
You can’t perform that action at this time.
0 commit comments