opensearch-project / dashboards-assistant

Dashboard assistant is a way for users on OpenSearch Dashboards to interact with an assistant through chat or the different OSD pages
https://opensearch.org/
Apache License 2.0
17 stars 22 forks source link

[FEATURE] Support context aware alert analysis #214

Closed songkant-aws closed 1 month ago

songkant-aws commented 2 months ago

Is your feature request related to a problem? Support in-context prompting experience for other dashboard plugins like alerts. Today, we see “in-context prompting” as an action a user can take on the fly quickly and easily.

What solution would you like? By reusing existing IncontextInsight component, we can easily wrap it around the children component like alert column to pass context to llm and expects the summarization response from llm. For now, we only support one click to generate summary. The message action bars will be supported in next iteration with some code refactoring.

Do you have any additional context? In-context prompting for alerts entry point:

Screenshot 2024-07-12 at 14 28 18

In-context prompting generating process:

Screenshot 2024-07-12 at 14 28 23

In-context prompting showing summary result with option to continue the conversation in chat:

Screenshot 2024-07-12 at 14 28 06
dblock commented 1 month ago

@songkant-aws Does #215 close this?

[Catch All Triage - 1, 2, 3]

songkant-aws commented 1 month ago

@songkant-aws Does #215 close this?

[Catch All Triage - 1, 2, 3]

Yes, we can close this issue with #215.