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:
Integrate with the DeepInfra LLM using LangChain JavaScript.
DeepInfra wrapper.
First, you’ll need to install the @langchain/community package:
DEEPINFRA_API_TOKEN
(or pass it into the constructor), then call the model as shown below: