Skip to content

Commit a3942ae

Browse files
straetergithub-actions[bot]
authored andcommitted
ask agent to come up with categories (#4973)
https://www.notion.so/futuresearch/Classify-auto-generate-categories-if-user-doesnt-specify-MCP-tool-desc-fix-325e89b7a667819fb37fca157b124c2f - suggest the agent to pick categories for classify if not provided EXCEPT it is very unclear -> then ask the user I can understand that in many situations it is nice if CC comes up with categories but there are (also from my experience) many cases where this is so ambiguous that CC should double check with the user (instead of just going ahead with a wild guess), and I think this works really well with this PR: Sourced from commit b14de82f335f303cea7f7ac3a0382fc541ef5af6
1 parent 9203733 commit a3942ae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • futuresearch-mcp/src/futuresearch_mcp

futuresearch-mcp/src/futuresearch_mcp/tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,8 @@ async def futuresearch_classify(
758758
) -> list[TextContent]:
759759
"""Classify each row of a dataset into one of the provided categories.
760760
761+
If the user does not provide categories, try to come up with a few meaningful categories yourself. If this is hard and it is important that the user defines the categories, ask him to provide or describe them before you proceed.
762+
761763
Uses web research that scales to the difficulty of the classification.
762764
Each row is assigned exactly one of the provided categories.
763765

0 commit comments

Comments
 (0)