docs/how_to/tool_calling/ #28738
Replies: 4 comments 3 replies
-
useful doc, ^_^ |
Beta Was this translation helpful? Give feedback.
-
amazing docs! why tool calling isn't supported on llama3? i think it is the most important model among them all since it is open source and everyone can fine tune to there dataset. |
Beta Was this translation helpful? Give feedback.
-
How can we pass methods of a class object, annotated as @tool. It's not working as first param of class instance methods is self. It complains while calling such tool method using .invoke call. For example: db_instance.get_students.invoke({}) fails saying |
Beta Was this translation helpful? Give feedback.
-
I'm using the same code as above, except for the model: I'm using llama3-groq-tool-use 8B locally. query = "What is 3 * 12? Also and what is 11 + 49?" chain = llm | PydanticToolsParser(tools=[multiply, add]) chain.invoke(query) chain.invoke(query) Out[81]: [multiply(a=3, b=12)] |
Beta Was this translation helpful? Give feedback.
-
docs/how_to/tool_calling/
This guide assumes familiarity with the following concepts:
https://python.langchain.com/docs/how_to/tool_calling/
Beta Was this translation helpful? Give feedback.
All reactions