Skip to content

chore(tools): POC to consolidate immutable ddl tools while preserving the accuracy #354

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

Draft
wants to merge 2 commits into
base: chore/issue-307-proposal-2
Choose a base branch
from

Conversation

himanshusinghs
Copy link
Collaborator

Proposed changes

Checklist

@himanshusinghs himanshusinghs changed the base branch from main to chore/issue-307-proposal-2 July 10, 2025 18:31
Consolidates list-databases, list-collections, collection-indexes and
collection-schema.

The tool calling accuracy went from 100 to 75. The LLM was always
mistaking the command name to be listDatabases instead of list-databases
and then course correcting when shown the error.
In the previous commit, our schema description was not clear enough for
LLM to correctly provide the name of command and it was hallucinating by
providing listDatabases for example instead of list-databases.
This commit modifies the descriptions a bit to achieve 100% accuracy for
the same prompts.
@himanshusinghs himanshusinghs force-pushed the poc/tool-consolidation branch from e20104b to e846520 Compare July 10, 2025 20:54
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.

1 participant