Optionalfields: anyTencent Cloud API Host.
Model name to use.
Tencent Cloud API v3 sign method.
Whether to stream the results or not. Defaults to false.
OptionaltemperatureAmount 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.
OptionaltencentSecretID 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.
OptionaltencentSecret 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.
OptionaltopPTotal 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_IDandTENCENT_SECRET_KEYenvironment variable set.Example