diff --git a/public/utils/pipeline/text_to_ppl_task.ts b/public/utils/pipeline/text_to_ppl_task.ts index 64f80261..e26263fd 100644 --- a/public/utils/pipeline/text_to_ppl_task.ts +++ b/public/utils/pipeline/text_to_ppl_task.ts @@ -44,7 +44,7 @@ export class Text2PPLTask extends Task { const hasStats = statsRegex.test(ppl); if (!hasStats) { throw new Error( - `The generated PPL query: ${ppl} doesn't seem to contain an aggregation. Ensure your question contains data aggregation (e.g., average, sum, or count) for meaningful visualization.` + `The generated PPL query doesn't seem to contain an aggregation. Ensure your question contains an aggregation (e.g., average, sum, or count) to create a meaningful visualization. Generated PPL: ${ppl}` ); } } diff --git a/release-notes/dashboards-assistant.release-notes-3.0.0.0-alpha1.md b/release-notes/dashboards-assistant.release-notes-3.0.0.0-alpha1.md index c6b6d423..bee0667d 100644 --- a/release-notes/dashboards-assistant.release-notes-3.0.0.0-alpha1.md +++ b/release-notes/dashboards-assistant.release-notes-3.0.0.0-alpha1.md @@ -28,6 +28,8 @@ Compatible with OpenSearch and OpenSearch Dashboards version 3.0.0-alpha1 - Add http error instruction for t2ppl task ([#502](https://github.com/opensearch-project/dashboards-assistant/pull/502)) - Change the background color, button position and text for alert summary popover ([#506](https://github.com/opensearch-project/dashboards-assistant/pull/506)) - collect metrics for when t2viz triggered([#510](https://github.com/opensearch-project/dashboards-assistant/pull/510)) +- chatbot dock bottom border top([#511](https://github.com/opensearch-project/dashboards-assistant/pull/511)) +- update the no aggregation PPL error message([#512](https://github.com/opensearch-project/dashboards-assistant/pull/512)) ### Bug Fixes