Properties
host
host: string = "hunyuan.tencentcloudapi.com"
model
model: string = "hunyuan-pro"
streaming
streaming: boolean = false
Optional temperature
temperature?: number
Optional tencentSecretId
tencentSecretId?: string
Optional tencentSecretKey
tencentSecretKey?: string
Optional topP
topP?: number
Wrapper around Tencent Hunyuan large language models that use the Chat endpoint.
To use you should have the
TENCENT_SECRET_IDandTENCENT_SECRET_KEYenvironment variable set.Example