-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Enhance log rate analysis API for use with AI Assistant #178501
Comments
Pinging @elastic/obs-knowledge-team (Team:obs-knowledge) |
Pinging @elastic/ml-ui (:ml) |
I created an additional issue that will cover this use case here: #178613 Let me know if you have any suggestions about the API request body and what you'd like to pass on when calling this via AI Assistant. |
Can you elaborate a bit on the requirements regarding speed related to AI Assistant? Are there some kind of thresholds, what does the AI Assistant consider too slow? |
@walterra I think this API should not take more than 2-3s to return. Generally I think we want more control here over the actual analysis that is being performed - e.g. there are some steps where we can take advantage of the fact that we know the schema to speed things up/get back more useful results. |
cc @arisonl |
@walterra and @sorenlouv |
We also have an issue in the So far I didn't hit any limitations regarding the AI Assistant, the recent updates with starter prompts are great and I was able to now use |
Summarizing our ZOOM here:
In that case it doesn't need to be a registered function, it just needs to be a function that can be used on Kibana's server side as part of the API call that gathers the data for the initial prompt. I'll try to expose such a function from the |
…nsight. (#187690) ## Summary Part of #178501. This adds log rate analysis results to the prompt used for contextual insights on alert details pages: <img width="1149" alt="image" src="https://github.com/user-attachments/assets/80b0f8e6-1ea1-4dbf-86ff-82c2ef175aa6"> <img width="1129" alt="image" src="https://github.com/user-attachments/assets/a538cc3c-6f13-43e4-ad7d-8a93a779d349"> ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <[email protected]>
Log rate analysis has been added to contextual insights in alert detail pages by #187690 |
Log rate analysis is a Kibana API that uses several steps to get its relevant fields. This is too slow for the AI Assistant to be able to call and needs an updated API that can be called ideally in a single step depending on feasibility.
@dgieselaar
The text was updated successfully, but these errors were encountered: