🔖 chore: Update baidu model
This commit is contained in:
parent
7ddeada284
commit
f1b97cecce
@ -75,8 +75,11 @@ func (p *BaiduProvider) GetFullRequestURL(requestURL string, modelName string) s
|
||||
"Embedding-V1": "embedding-v1",
|
||||
"ERNIE-4.0": "completions_pro",
|
||||
"ERNIE-3.5-8K": "completions",
|
||||
"ERNIE-Bot-8K": "ernie_bot_8k",
|
||||
"ERNIE-Speed": "ernie_speed",
|
||||
"ERNIE-Speed-128K": "ernie_speed_128k",
|
||||
"ERNIE-Lite-8K": "eb-instant",
|
||||
"ERNIE-Tiny-8K": "ernie-tiny-8k",
|
||||
"ERNIE-Functions-8K": "ernie-func-8k",
|
||||
}
|
||||
|
||||
if modelNameConvert, ok := modelNameMap[modelName]; ok {
|
||||
|
Loading…
Reference in New Issue
Block a user