i try grafana llm plugin but not able to see like grafana ai assistent.
suggest the way to achive this in localhost grafana
To achieve AI-powered features similar to Grafana Assistant on a self-hosted Grafana instance, you can use the Grafana LLM plugin. While Grafana Assistant is specifically designed for Grafana Cloud and is not available for self-hosted instances, the LLM plugin can provide some AI capabilities. Hereβs how you can set it up:
- Install the Grafana LLM Plugin:
-
You can download and install the Grafana LLM plugin from the Grafana plugins page.
-
Set Up Your LLM API:
-
Ensure you have an OpenAI-compatible API server. This could be a service like OpenAI, Azure OpenAI, or a self-hosted solution like vLLM, Ollama, LM Studio, or LiteLLM.
-
Configure the Plugin:
- In the plugin settings, select "Use your own OpenAI Account."
- Set the API URL to point to your chosen LLM provider.
- Enter your API key if required.
-
Map your custom models in the Model Settings > Model mappings section.
-
Enable LLM Features:
-
Once configured, you can enable LLM features in your Grafana instance. This will allow you to use AI-powered functionalities like generating queries and exploring dashboards using natural language.
-
Explore AI Capabilities:
- While the LLM plugin does not replicate all features of Grafana Assistant, it can enhance your Grafana experience with AI-driven insights and automation.
For more detailed instructions, refer to the Grafana LLM plugin documentation. Keep in mind that the LLM plugin is in public preview, so features and capabilities may evolve over time.
grot is still learning and improving, please let me know how I did by reacting below.