grafana / azure-data-explorer-datasource

Grafana datasource plugin for Microsoft Azure Data Explorer (formerly Azure Kusto)
Apache License 2.0
49 stars 38 forks source link

Uncaught TypeError: self.crypto.randomUUID is not a function when trying to generate a query using openAI #1051

Open Mcamin opened 6 days ago

Mcamin commented 6 days ago

Environment Details

Installed last version of Grafana(11.2.0) Installed last version of LLM plugin(0.10.9) Installed last version of Azure Data Explorer data source for Grafana (5.0.7) Configured the plugin with Azure OpenAI with 2 Models Base / Large Image

How to reproduce the problem:

  1. Create a Dashboard
  2. Create a Panel
  3. Use Azure Data Explorer Database as a Data Source
  4. Use the OpenAI option to generate a query Image
  5. Write something like "Get me 5 samples of the data" and click on Generate query
  6. A loading icon will appear inside the Generate query Button but nothing happens. Image
  7. The console logs show the following error: Image
sd2k commented 6 days ago

Thanks for the report @Mcamin. I've transferred it to the repository for the datasource itself, which appears to be using a deprecated package for LLM support, but I'll work on a fix soon 👍

Mcamin commented 5 days ago

@sd2k Thanks.