Optional
fields: Partial<BaiduWenxinChatInput> & BaseLanguageModelParamsOptional
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
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