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

Tools #8

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Tools #8

wants to merge 6 commits into from

Conversation

zestor
Copy link

@zestor zestor commented Apr 26, 2023

Chatter
Salesforce Files
Merge
KB Search

@@ -0,0 +1,109 @@
public class zChatterAgentTool implements IAgentTool {
public String getDescription() {
return 'Chatter Agent Tool for retrieving, inserting, updating, upserting, and deleting Chatter posts';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a lot of context for a single tool. I think the agent will react much better to have all of these split out into separate tools (RetrieveChatterPost, CreateChatterPost, DeleteChatterPost).

The way it current is, the agent will likely get confused how to use it.

@ChuckJonas
Copy link
Collaborator

nice, these will be a good addition. I left a comment, but I think we need to split out the chatter into multiple operation. In my testing, I've found it's very important to keep the tool as simple as possible to get the best results. Good guidelines include following "Single Responsibility Principle" and using as few arguments as possible.

1 similar comment
@ChuckJonas
Copy link
Collaborator

nice, these will be a good addition. I left a comment, but I think we need to split out the chatter into multiple operation. In my testing, I've found it's very important to keep the tool as simple as possible to get the best results. Good guidelines include following "Single Responsibility Principle" and using as few arguments as possible.

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

Successfully merging this pull request may close these issues.

2 participants