Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 9 months ago
0
Follow
do i need always to write doc string for
do i need always to write doc string for
Inactive
0
Follow
At a glance
m
mahdicodex999
9 months ago
Β·
do i need always to write doc string for the function need to be called by LLM?
L
m
2 comments
Share
Open in Discord
L
Logan M
9 months ago
Its used as the tool description. If you don't write it, you need to provide it
FunctionTool.from_defaults(fn=fn, description="...", name="...")
m
mahdicodex999
9 months ago
@Logan M ok yeah now i understand it, π₯
Add a reply
Sign up and join the conversation on Discord
Join on Discord