kibana/x-pack/plugins/ml/kibana.jsonc
Walter Rafelsberger c60efafe70
[ML] AIOps: Add AI Assistant contextual insight to Log Rate Analysis page in ML plugin in Observability serverless. (#186509)
## Summary

Part of #181111.

This adds O11y AI Assistant's contextual insight to the Log Rate
Analysis page in the ML plugin for O11y serverless projects..

Note the code is almost an exact copy of what's currently used in the
O11y UI itself to render the contextual insight when log rate analysis
gets embedded on alert details pages. As a follow up we will be able to
consolidate some code.

[aiops-ai-assistant-contextual-insight-0001.webm](08269a40-f45a-4eb9-bd4d-a249cdd46266)

To test this you need to set up AI Assistant in your `kibana.dev.yml`:

```yml
xpack.actions.preconfigured:
  my-gen-ai:
    name: Preconfigured Azure OpenAi
    actionTypeId: .gen-ai
    config:
      apiUrl: <YOUR-API-URL>
      apiProvider: 'Azure OpenAI'
    secrets:
      apiKey: <YOUR-API-KEY>
```

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2024-07-03 15:15:16 +02:00

63 lines
1.3 KiB
JSON

{
"type": "plugin",
"id": "@kbn/ml-plugin",
"owner": "@elastic/ml-ui",
"description": "This plugin provides access to the machine learning features provided by Elastic.",
"plugin": {
"id": "ml",
"server": true,
"browser": true,
"configPath": ["xpack", "ml"],
"requiredPlugins": [
"aiops",
"charts",
"cloud",
"data",
"dataViewEditor",
"dataViews",
"dataVisualizer",
"discover",
"embeddable",
"features",
"fieldFormats",
"lens",
"licensing",
"share",
"taskManager",
"triggersActionsUi",
"uiActions",
"unifiedSearch",
"savedObjectsManagement",
"savedSearch",
"contentManagement",
"presentationUtil"
],
"optionalPlugins": [
"alerting",
"dashboard",
"home",
"licenseManagement",
"management",
"maps",
"security",
"spaces",
"observabilityAIAssistant",
"usageCollection",
"cases"
],
"requiredBundles": [
"cases",
"charts",
"dashboard",
"esUiShared",
"fieldFormats",
"kibanaReact",
"kibanaUtils",
"lens",
"maps",
"savedObjectsFinder",
"usageCollection"
],
"extraPublicDirs": ["common"]
}
}