File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
api/core/model_runtime/model_providers/wenxin/llm Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ model : ernie-character-8k-0321
2
+ label :
3
+ en_US : ERNIE-Character-8K-0321
4
+ model_type : llm
5
+ features :
6
+ - agent-thought
7
+ model_properties :
8
+ mode : chat
9
+ context_size : 8192
10
+ parameter_rules :
11
+ - name : temperature
12
+ use_template : temperature
13
+ min : 0.1
14
+ max : 1.0
15
+ default : 0.95
16
+ - name : top_p
17
+ use_template : top_p
18
+ min : 0
19
+ max : 1.0
20
+ default : 0.7
21
+ - name : max_tokens
22
+ use_template : max_tokens
23
+ default : 1024
24
+ min : 2
25
+ max : 1024
26
+ - name : presence_penalty
27
+ use_template : presence_penalty
28
+ default : 1.0
29
+ min : 1.0
30
+ max : 2.0
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ class ErnieBotModel:
135
135
'ernie-speed-appbuilder' : 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ai_apaas' ,
136
136
'ernie-lite-8k-0922' : 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/eb-instant' ,
137
137
'ernie-lite-8k-0308' : 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie-lite-8k' ,
138
+ 'ernie-character-8k-0321' : 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie-char-8k' ,
138
139
}
139
140
140
141
function_calling_supports = [
You can’t perform that action at this time.
0 commit comments