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

Simplifications and fixes #55

Conversation

stratoula
Copy link

@stratoula stratoula commented Mar 27, 2024

Summary

This PR:

  • simplifies the api as for ESQL queries we don't need the breakdown type. Also we just send a string (the field name) and nothing more. The complexity starts with formulas but we don't have formulas here!
  • fixes all the chart types to work properly. At least they work for my examples. I am adding some examples below.

My initial prompt to generate the query is

I want the average of bytes grouped by the top 10 destination. Get the data from the logstash indices

And then I ask a specific chart

Here is a dashboard I created only with AI

image

@dgieselaar dgieselaar force-pushed the obs-ai-assistant-add-to-dashboard branch from 8eadd3f to 0b8ef48 Compare April 15, 2024 10:01
@dgieselaar dgieselaar merged commit 51df98a into dgieselaar:obs-ai-assistant-add-to-dashboard Apr 15, 2024
1 check 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.

2 participants