-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make LangChain bind_tools work with Granite function calling #130
Comments
Taking a look at this. |
It looks like we can just bypass The same thing works for Replicate; I've tested that. |
Hi @fayvor , If we were to use simple sql agents from langchain to leverage its specialized text-to-sql capabilities (tool-calling) below error is encountered. Can you please advise if/when tool-calling can be supported/integrated. agent_executor = create_sql_agent(llm, toolkit=toolkit, agent_type="tool-calling", verbose=True) ValueError: This function requires a .bind_tools method be implemented on the LLM. |
While using Replicate Granite model via Langchain Langgraph following error is encountered for agent creation
AttributeError: 'Replicate' object has no attribute 'bind_tools'
The text was updated successfully, but these errors were encountered: