Find answers from the community

m
mcv
Offline, last seen 3 months ago
Joined September 25, 2024
Hello, I am attempting to create a tool class using BaseToolSpec. I am using Pydantic Fields and a docstring with args spelled out, but no matter what, it seems the agent will formulate the tool params like { input: "some ask", lang: "en" }. So it is ignoring the tool definition. I was simply following examples in docs and official llamaindex videos. Is there some up-to-date resource I can use as an example?
10 comments
m
L