Optional
fields: anyOptional
apiOptional
baiduOptional
baiduOptional
penaltyOptional
prefixOptional
temperatureOptional
topPOptional
userGet the identifying parameters for the model
Optional
penalty_Optional
stream?: booleanOptional
system?: stringOptional
temperature?: numberOptional
top_Optional
user_Generated using TypeDoc
⚠️ Deprecated ⚠️
This feature is deprecated and will be removed in the future.
It is not recommended for use.
Install and import from @langchain/baidu-qianfan instead. Wrapper around Baidu ERNIE large language models that use the Chat endpoint.
To use you should have the
BAIDU_API_KEY
andBAIDU_SECRET_KEY
environment variable set.Example