Skip to content

[8.18] [Obs AI Assistant] Add Elastic Managed LLM tour callout (#220782)#223287

Merged
viduni94 merged 9 commits intoelastic:8.18from
viduni94:backport/8.18/pr-220782
Jun 11, 2025
Merged

[8.18] [Obs AI Assistant] Add Elastic Managed LLM tour callout (#220782)#223287
viduni94 merged 9 commits intoelastic:8.18from
viduni94:backport/8.18/pr-220782

Conversation

@viduni94
Copy link
Contributor

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

Closes elastic/obs-ai-team#253
Closes elastic/obs-ai-team#252
Closes elastic/obs-ai-team#250
Closes elastic/obs-ai-team#251

## Summary

1. Added Elastic Managed LLM connector via a tour callout when the
connector is present. This will be included in the AI Assistant flyout,
AI Assistant page and contextual insights.
2. Added a callout in the conversation when the Elastic Managed LLM is
being used
3. Added `Manage Connectors` to contextual insights action menu
4. Added `AI Connector` updates to settings.

## How to enable the Elastic LLM Connector for testing

1. Run command -  `VAULT_ADDR={...} vault login -method oidc`
2. Run command - `node scripts/eis.js` (This will output the config for
the connector which needs to be pasted to `kibana.dev.yml`)
3. Run Elasticsearch - `yarn es snapshot --license trial -E
xpack.inference.elastic.url=http://localhost:8443/`
4. Start Kibana as usual
5. Run `yarn run ts-node --transpile-only
x-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`
to test whether it works correctly.
6. The connector should be visible in the connectors list in Kibana and
in the AI Assistant

## Screenshots

### Flyout

<img width="544" alt="image"
src="https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce"
/>

### Page

<img width="1684" alt="image"
src="https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe"
/>

### Contextual insights in APM

<img width="1098" alt="image"
src="https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e"
/>

### Callout within the conversation

<img width="674" alt="image"
src="https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819"
/>

<img width="904" alt="image"
src="https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0"
/>

### Updates to AI connector title, description and buttons in Settings

<img width="959" alt="image"
src="https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e"
/>

### `Manage Connectors` link to contextual insights

![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [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] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit cf4d23a)

# Conflicts:
#	src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_header.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_timeline.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/knowledge_base/knowledge_base_installation_status_panel.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.json
#	x-pack/platform/plugins/private/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.test.tsx
#	x-pack/platform/plugins/shared/observability_ai_assistant/tsconfig.json
#	x-pack/solutions/observability/plugins/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.tsx
@viduni94 viduni94 requested a review from kibanamachine as a code owner June 10, 2025 19:21
@viduni94 viduni94 added the backport This PR is a backport of another PR label Jun 10, 2025
@viduni94 viduni94 enabled auto-merge (squash) June 10, 2025 19:21
@botelastic botelastic bot added the Team:Obs AI Assistant Observability AI Assistant label Jun 10, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@viduni94 viduni94 disabled auto-merge June 10, 2025 19:22
@elasticmachine
Copy link
Contributor

elasticmachine commented Jun 10, 2025

💔 Build Failed

Failed CI Steps

History

@viduni94
Copy link
Contributor Author

image

image

image

image

image

@viduni94 viduni94 merged commit cc5b798 into elastic:8.18 Jun 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:Obs AI Assistant Observability AI Assistant

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants