|
@@ -129,6 +129,7 @@ class ErnieBotModel:
|
|
|
'ernie-3.5-8k-0205': 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie-3.5-8k-0205',
|
|
|
'ernie-3.5-8k-1222': 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie-3.5-8k-1222',
|
|
|
'ernie-3.5-4k-0205': 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie-3.5-4k-0205',
|
|
|
+ 'ernie-3.5-128k': 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie-3.5-128k',
|
|
|
'ernie-4.0-8k': 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions_pro',
|
|
|
'ernie-speed-8k': 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie_speed',
|
|
|
'ernie-speed-128k': 'https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie-speed-128k',
|
|
@@ -144,7 +145,9 @@ class ErnieBotModel:
|
|
|
'ernie-3.5-8k',
|
|
|
'ernie-3.5-8k-0205',
|
|
|
'ernie-3.5-8k-1222',
|
|
|
- 'ernie-3.5-4k-0205'
|
|
|
+ 'ernie-3.5-4k-0205',
|
|
|
+ 'ernie-3.5-128k',
|
|
|
+ 'ernie-4.0-8k'
|
|
|
]
|
|
|
|
|
|
api_key: str = ''
|