Setup
You’ll need to sign up for an Alibaba API key and set it as an environment variable namedALIBABA_API_KEY
.
Then, you’ll need to install the @langchain/community
package:
npm
Usage
Here’s an example:Related
- Chat model conceptual guide
- Chat model how-to guides