Skip to content

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

@jedrazb
Copy link
Member

jedrazb commented May 20, 2025

buildkite test this

@jedrazb jedrazb merged commit 8264dae into elastic:main May 20, 2025
2 checks passed
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