Skip to content

Commit

Permalink
chore(tools): update description for human tool in experimental examples
Browse files Browse the repository at this point in the history
- Improved the description for the human tool to better reflect its capabilities and usage.
- Ensures clarity and consistency with other tool descriptions.

Ref: i-am-bee#121
Signed-off-by: Matias Molinas <[email protected]>
  • Loading branch information
matiasmolinas committed Dec 19, 2024
1 parent 69f263f commit b8d36a7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/tools/experimental/human.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ import { z } from "zod";
export class HumanTool extends Tool<StringToolOutput> {
name = "HumanTool";
description = `
This tool is used whenever the user's input is unclear, ambiguous, or incomplete.
The agent MUST invoke this tool when additional clarification is required to proceed.
This tool is strictly used whenever the user's input is unclear, ambiguous, or incomplete.
The assistant
MUST NOT ask the user for clarification directly as an assistant message. Instead, it
must invoke this tool to obtain the necessary details. If at any point the assistant
finds the user’s request ambiguous, vague, incomplete, or unclear, the assistant
should call this HumanTool.
The output must adhere strictly to the following structure:
- Thought: A single-line description of the need for clarification.
- Function Name: HumanTool
Expand Down

0 comments on commit b8d36a7

Please sign in to comment.