community: fix QianfanChatEndpoint default model (#24464)

the baidu_qianfan_endpoint has been changed from ERNIE-Bot-turbo to
ERNIE-Lite-8K
This commit is contained in:
chuanbei888 2024-07-20 21:00:29 +08:00 committed by GitHub
parent 947628311b
commit 6b08a33fa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -340,13 +340,13 @@ class QianfanChatEndpoint(BaseChatModel):
In the case of other model, passing these params will not affect the result.
"""
model: str = "ERNIE-Bot-turbo"
model: str = "ERNIE-Lite-8K"
"""Model name.
you could get from https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
preset models are mapping to an endpoint.
`model` will be ignored if `endpoint` is set.
Default is ERNIE-Bot-turbo.
Default is ERNIE-Lite-8K.
"""
endpoint: Optional[str] = None