Agents · Tool Calling & Tavily Search · Bài 2/7
LangChain tools
LangChain wraps a function as a tool either with the Tool class (name, func, description) or with the @tool decorator, which takes the name from the function and the description from its docstring. LangChain Community ships ready-made tools such as DuckDuckGo search, Wikipedia, a Python REPL and file read/write. bind_tools gives a chat model the tools' schemas.
Nội dung bài học, quiz và tab Command mở trên site sau khi đăng nhập và được admin cấp quyền học AIOps Peach.