Optional
fields: anyTencent Cloud API Host.
Model name to use.
Tencent Cloud API v3 sign method.
Whether to stream the results or not. Defaults to false.
Optional
temperatureAmount of randomness injected into the response. Ranges from 0.0 to 2.0. Use temp closer to 0 for analytical / multiple choice, and temp closer to 1 for creative and generative tasks. Defaults to 1.0.95.
Optional
tencentSecretID to use when making requests, can be obtained from https://console.cloud.tencent.com/cam/capi.
Defaults to the value of TENCENT_SECRET_ID
environment variable.
Optional
tencentSecret key to use when making requests, can be obtained from https://console.cloud.tencent.com/cam/capi.
Defaults to the value of TENCENT_SECRET_KEY
environment variable.
Optional
topPTotal probability mass of tokens to consider at each step. Range from 0 to 1.0. Defaults to 1.0.
Wrapper around Tencent Hunyuan large language models that use the Chat endpoint.
To use you should have the
TENCENT_SECRET_ID
andTENCENT_SECRET_KEY
environment variable set.Example