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