Skip to content

Commit

Permalink
add ernie-func-8k model
Browse files Browse the repository at this point in the history
  • Loading branch information
wj-Mcat committed Aug 20, 2024
1 parent 49b30d5 commit 9a043a1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions erniebot/src/erniebot/resources/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
"ernie-char-8k": {
"model_id": "ernie-char-8k",
},
"ernie-func-8k": {
"model_id": "ernie-func-8k"
},
"ernie-function-8k": {
"model_id": "ernie-func-8k"
}
},
},
APIType.AISTUDIO: {
Expand Down Expand Up @@ -129,6 +135,12 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
"ernie-char-8k": {
"model_id": "ernie-char-8k",
},
"ernie-func-8k": {
"model_id": "ernie-func-8k"
},
"ernie-function-8k": {
"model_id": "ernie-func-8k"
}
},
},
APIType.CUSTOM: {
Expand Down

0 comments on commit 9a043a1

Please sign in to comment.