From a0f6b8e68dc0743cac6233b6c3bac9cc0489840f Mon Sep 17 00:00:00 2001 From: Tom Bedor Date: Sat, 4 Jan 2025 10:03:34 -0800 Subject: [PATCH] Add missing end of sentence to building_good_agents --- docs/source/en/tutorials/building_good_agents.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/en/tutorials/building_good_agents.md b/docs/source/en/tutorials/building_good_agents.md index c220179..cd97b3c 100644 --- a/docs/source/en/tutorials/building_good_agents.md +++ b/docs/source/en/tutorials/building_good_agents.md @@ -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: