Skip to content

Add index pattern argument for list indices tool #44

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

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

Conversation

susan-shu-c
Copy link
Member

Allow the list indices tool to take in an index pattern of indices to list, instead of listing all of them all the time.

Examples:

Screenshot 2025-04-11 at 10 34 18 AM Screenshot 2025-04-11 at 10 34 09 AM

@susan-shu-c susan-shu-c requested a review from a team as a code owner April 14, 2025 18:54
Copy link
Member

@jedrazb jedrazb left a comment

Choose a reason for hiding this comment

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

LGTM! Agreed that for clusters with a lot of 100s of indices this will greatly help LLM find the right index more efficiently

Thank you for looking into it!

@jedrazb
Copy link
Member

jedrazb commented May 9, 2025

buildkite test this

@jedrazb
Copy link
Member

jedrazb commented May 9, 2025

Checked with @swallez merging this in

@jedrazb jedrazb enabled auto-merge (squash) May 9, 2025 07:42
@2gavy
Copy link

2gavy commented May 9, 2025

Had issues with the free Claude plan hitting against my cluster with 600+ indices which exceeded the context window. Will be great if its smart enough to figure out the index.

Thank you @jedrazb for the suggestion to have a more targetted prompt.

image

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.

3 participants