Setup
- Sign up for a Tencent Cloud account here.
- Create SecretID & SecretKey here.
- Set SecretID and SecretKey as environment variables named
TENCENT_SECRET_ID
andTENCENT_SECRET_KEY
, respectively.
npm
npm
web
as shown below.
Usage
Here’s an example:Related
- Chat model conceptual guide
- Chat model how-to guides