Open maharifu opened 1 day ago
Hey @maharifu! π I'm here to help you with bugs, questions, and more while you wait for a human maintainer.
The TypeError: (intermediate value).bindTools is not a function
issue occurs because the ChatDeepInfra
class in LangChain.js does not implement the bindTools
method. This is a known limitation, as there is no documentation or comments in the LangChain.js codebase that describe the tool integration capabilities of ChatDeepInfra
or any alternative methods for binding tools with it [1][2].
If you are looking for similar issues, there is a related discussion about the bindTools
method not being implemented for certain models, such as ChatOpenAI
, which might provide some context or potential workarounds [3]. However, for ChatDeepInfra
, there is currently no direct solution or alternative method available in the LangChain.js repository.
To continue talking to Dosu, mention @dosu.
Hey there @ovuruska. Would you be able to help here from the Deep Infra side?
Checked other resources
Example Code
Following the quickstart tutorial here, but replacing
ChatOpenAI
withChatDeepInfra
like this:Error Message and Stack Trace (if applicable)
TypeError: (intermediate value).bindTools is not a function
Description
ChatDeepInfra
with toolsbindTools
, like the python versionSystem Info
Platform: Linux