You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: