Find answers from the community

Updated 7 months ago

do i need always to write doc string for

do i need always to write doc string for the function need to be called by LLM?
L
m
2 comments
Its used as the tool description. If you don't write it, you need to provide it

FunctionTool.from_defaults(fn=fn, description="...", name="...")
@Logan M ok yeah now i understand it, πŸ”₯
Add a reply
Sign up and join the conversation on Discord