Skip to content

Commit

Permalink
add turbo pro (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
sijunhe committed Jul 2, 2024
1 parent d98a918 commit 49b30d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions erniebot/src/erniebot/resources/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
"ernie-lite-8k-0308": {
"model_id": "ernie-lite-8k",
},
"ernie-4.0-turbo-8k": {
"model_id": "ernie-4.0-turbo-8k",
},
"ernie-4.0": {
"model_id": "completions_pro",
},
Expand Down Expand Up @@ -108,6 +111,9 @@ class ChatCompletion(EBResource, CreatableWithStreaming):
"ernie-lite": {
"model_id": "eb-instant",
},
"ernie-4.0-turbo-8k": {
"model_id": "ernie-4.0-turbo-8k",
},
"ernie-4.0": {
"model_id": "completions_pro",
},
Expand Down

0 comments on commit 49b30d5

Please sign in to comment.