opensearch-project / dashboards-observability

Visualize and explore your logs, traces and metrics data in OpenSearch Dashboards
https://opensearch.org/docs/latest/observability-plugin/index/
Apache License 2.0
14 stars 52 forks source link

[query assist] update ml-commons response schema #2124

Closed joshuali925 closed 3 weeks ago

joshuali925 commented 3 weeks ago

Description

update logic to process ml-commons response schema. error.body was a string before, now it is a JSON object. converting to string for backward compatibility

Issues Resolved

[List any issues this PR will resolve]

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.