Replies: 1 comment
-
Totally agree — that tutorial feels like it skipped the part where the agent gets a brain 😅 I ran into the same “What is the weather in ___” issue. Turns out the tool didn’t even know what it was supposed to be. Tool(
name="weather_tool",
description="Use this to answer weather-related questions. Example: 'What's the weather in Paris?'",
func=...
) This actually makes it usable in practice. Thanks for bringing this up — more people should bump into this thread before rage-uninstalling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The agent in this tutorial needs a prompt for sure and the tool needs to be described.
For example with the existing code requests like What is the weather in ____ did not work.
However creating the tavily as a custom tool (I actually don't know if Tavily already has a description) and adding a prompt makes it work way better.
Beta Was this translation helpful? Give feedback.
All reactions