ChatDeepInfra
wrapper.
First, you’ll need to install the @langchain/community
package:
npm
DEEPINFRA_API_TOKEN
(or pass it into the constructor), then call the model as shown below:
Related
- Chat model conceptual guide
- Chat model how-to guides