mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-06 15:48:39 +00:00
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:
parent
947628311b
commit
6b08a33fa4
@ -340,13 +340,13 @@ class QianfanChatEndpoint(BaseChatModel):
|
|||||||
In the case of other model, passing these params will not affect the result.
|
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.
|
"""Model name.
|
||||||
you could get from https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
|
you could get from https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
|
||||||
|
|
||||||
preset models are mapping to an endpoint.
|
preset models are mapping to an endpoint.
|
||||||
`model` will be ignored if `endpoint` is set.
|
`model` will be ignored if `endpoint` is set.
|
||||||
Default is ERNIE-Bot-turbo.
|
Default is ERNIE-Lite-8K.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
endpoint: Optional[str] = None
|
endpoint: Optional[str] = None
|
||||||
|
Loading…
Reference in New Issue
Block a user