Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 7 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
m
mahdicodex999
7 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
7 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
7 months ago
@Logan M ok yeah now i understand it, π₯
Add a reply
Sign up and join the conversation on Discord
Join on Discord