From 5d1a58a6462a45a17380c2487ee733b2f6163c54 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 21 Mar 2024 18:56:40 +0800 Subject: [PATCH] [docs] Remove redundant `-` and `the` from custom_tools.md (#29767) [docs] Remove redundant and from custom_tools.md --- docs/source/en/custom_tools.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/en/custom_tools.md b/docs/source/en/custom_tools.md index 7f5ed2bb5f..ea962f071a 100644 --- a/docs/source/en/custom_tools.md +++ b/docs/source/en/custom_tools.md @@ -51,10 +51,10 @@ seemingly giving the agent some kind of memory. Let's take a closer look at how the prompt is structured to understand how it can be best customized. The prompt is structured broadly into four parts. -- 1. Introduction: how the agent should behave, explanation of the concept of tools. -- 2. Description of all the tools. This is defined by a `<>` token that is dynamically replaced at runtime with the tools defined/chosen by the user. -- 3. A set of examples of tasks and their solution -- 4. Current example, and request for solution. +1. Introduction: how the agent should behave, explanation of the concept of tools. +2. Description of all the tools. This is defined by a `<>` token that is dynamically replaced at runtime with the tools defined/chosen by the user. +3. A set of examples of tasks and their solution +4. Current example, and request for solution. To better understand each part, let's look at a shortened version of how the `run` prompt can look like: @@ -301,7 +301,7 @@ and description and try refining your task request with it. ### Customizing the tool descriptions As we've seen before the agent has access to each of the tools' names and descriptions. The base tools -should have very precise names and descriptions, however, you might find that it could help to change the +should have very precise names and descriptions, however, you might find that it could help to change the description or name of a tool for your specific use case. This might become especially important when you've added multiple tools that are very similar or if you want to use your agent only for a certain domain, *e.g.* image generation and transformations.