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
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.