Merge pull request #68 from elroy-bot/docs-nit

Add missing end of sentence to building_good_agents
This commit is contained in:
Aymeric Roucher 2025-01-05 20:10:07 +01:00 committed by GitHub
commit 87bbc3f1cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ def get_weather_api(location: str, date_time: str) -> str:
Why is it bad?
- there's no precision of the format that should be used for `date_time`
- there's no detail on how location should
- there's no detail on how location should be specified.
- there's no logging mechanism tying to explicit failure cases like location not being in a proper format, or date_time not being properly formatted.
- the output format is hard to understand
@ -179,7 +179,7 @@ Then you can also use less powerful models but guide them better.
Put yourself in the shoes of your model: if you were the model solving the task, would you struggle with the information available to you (from the system prompt + task formulation + tool description) ?
Would you need some added clarifications?
Would you need some added clarifications?
To provide extra information, we do not recommend to change the system prompt right away: the default system prompt has many adjustments that you do not want to mess up except if you understand the prompt very well.
Better ways to guide your LLM engine are: