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

[FEATURE] Create Anomaly Detector Tool #337

Open
ylwu-amzn opened this issue Jun 18, 2024 · 3 comments
Open

[FEATURE] Create Anomaly Detector Tool #337

ylwu-amzn opened this issue Jun 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ylwu-amzn
Copy link
Collaborator

We have get anomaly detector tool now. We can create some tool to create anomaly detector.

@ylwu-amzn ylwu-amzn added enhancement New feature or request untriaged labels Jun 18, 2024
@dblock
Copy link
Member

dblock commented Jul 8, 2024

[Catch All Triage, attendees 1, 2, 3, 4, 5, 6, 7]

@dblock dblock removed the untriaged label Jul 8, 2024
@gaobinlong
Copy link
Contributor

I'm working on implementing this tool, the main purpose of this tool is that we give some prompt to LLM and let it give the suggested required parameters for creating anomaly detector, then we pop up a input form filling with the suggested parameters in OSD, users can modify the parameters if they want, after they confirmed they can click the create button to create an anomaly detector based on the suggestions.

So for this CreateAnomalyDetectorTool, we only accept an index name or an index pattern as the input parameter, and we fetch the index mappings and then construct a prompt containing the index mappings and an example of the create anomaly detector API, finally, we let LLM to give a formatted result which contains some key information like:

{
    "index": "",
    "categoryField": "",
    "aggregationField": "",
    "aggregationMethod": "",
    "dateFields": ""
}

@gaobinlong
Copy link
Contributor

A demo video about let LLM help to create an anomaly detector:

demo-video.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants