VolcEngineMaasChat()access key for volc engine
secret key for volc engine
The endpoint to use.
The region of hunyuan service.
Model version to use.
Works together with top-k. A higher value (e.g., 0.95) will lead
Holds any model parameters valid for create call not explicitly specified.
Timeout for connect to volc engine maas endpoint. Default is 60 seconds.
Timeout for read response from volc engine maas endpoint.
Volc Engine Maas hosts a plethora of models.
You can utilize these models through this class.
To use, you should have the volcengine python package installed.
and set access key and secret key by environment variable or direct pass those
to this class.
access key, secret key are required parameters which you could get help
https://www.volcengine.com/docs/6291/65568
In order to use them, it is necessary to install the 'volcengine' Python package. The access key and secret key must be set either via environment variables or passed directly to this class. access key and secret key are mandatory parameters for which assistance can be sought at https://www.volcengine.com/docs/6291/65568.
The two methods are as follows:
Environment Variable Set the environment variables 'VOLC_ACCESSKEY' and 'VOLC_SECRETKEY' with your access key and secret key.
Pass Directly to Class Example: .. code-block:: python
from langchain_community.llms import VolcEngineMaasLLM
model = VolcEngineMaasChat(model="skylark-lite-public",
volc_engine_maas_ak="your_ak",
volc_engine_maas_sk="your_sk")