Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ToolValidatorAgent #104

Closed
pchalasani opened this issue Jun 20, 2023 · 1 comment
Closed

Add ToolValidatorAgent #104

pchalasani opened this issue Jun 20, 2023 · 1 comment

Comments

@pchalasani
Copy link
Contributor

LLM sometimes does not use the expected syntax for a tool.
We can have a ToolValidatorAgent detect this and tell the LLM to try again.
Similar to how ValidatorAgent handles missing TO: Address

@pchalasani
Copy link
Contributor Author

Implemented in pr #107 -- instead of using a separate validator agent, the tool-handling method returns a clearly formatted error message so that the LLM knows its use of TOOL "x" has specific issues it needs to address, e.g. missing arguments etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant