Skip to content

[Obs AI Assistant] Add ELSER in EIS model option to the Knowledge Base#243298

Merged
viduni94 merged 18 commits intoelastic:mainfrom
viduni94:kb-elser-on-eis
Dec 5, 2025
Merged

[Obs AI Assistant] Add ELSER in EIS model option to the Knowledge Base#243298
viduni94 merged 18 commits intoelastic:mainfrom
viduni94:kb-elser-on-eis

Conversation

@viduni94
Copy link
Copy Markdown
Contributor

@viduni94 viduni94 commented Nov 18, 2025

Closes https://github.com/elastic/obs-ai-assistant-team/issues/314

Summary

The multilingual Knowledge Base (KB) currently has 2 model options

  • ELSER on ML node
  • e5-small on ML node

This PR adds ELSER in EIS to the list of models available for the Knowledge Base. Only one ELSER model will be shown to the user based on whether they have access to EIS.

How it works

New users of the KB

  • For users who haven't installed the KB AND has access to EIS
    • The 2 model options would be ELSER in EIS and e5-small on ML node
  • For users who haven't installed the KB AND does not have access to EIS (No change)
    • The 2 model options would be ELSER on ML node and e5-small on ML node

Existing users of the KB

  • For users who have already installed the KB AND has access to EIS
    • They will be able to continue using ELSER on ML node
    • If they want to use ELSER in EIS, they have to switch the KB model to e5-small and switch again to ELSER via AI Assistant Settings to use ELSER in EIS
  • For users who have already installed the KB AND does not have access to EIS (No change)

Screenshots

ELSER in EIS model option for user

From a UI perspective, we don't distinguish between ELSER on EIS and ELSER on ML node

elser-in-eis-model-option-for-kb

KB index mapping

kb-index-mapping-with-ELSER-in-EIS

Scenarios tested

  • When ELSER in EIS is available

    • Install KB with ELSER in EIS
    • Recall entries
    • Update KB model to e5-small via settings
    • Recall entries
  • When ELSER in EIS is not available

    • Install KB with ELSER on ML node
    • Recall entries
    • Update KB model to e5-small via settings
    • Recall entries

Checklist

Release Note

Adds ELSER in EIS as a model option for the Observability and Search AI Assistant Knowledge Base

@viduni94 viduni94 self-assigned this Nov 18, 2025
@viduni94 viduni94 requested review from a team as code owners November 18, 2025 00:45
@viduni94 viduni94 added backport:skip This PR does not require backporting release_note:feature Makes this part of the condensed release notes Team:Obs AI Assistant Observability AI Assistant v9.3.0 Team:obs-ai Observability AI team labels Nov 18, 2025
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Nov 18, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@viduni94
Copy link
Copy Markdown
Contributor Author

/oblt-deploy

@viduni94 viduni94 added this to the 9.3 milestone Nov 18, 2025
@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod bot requested a review from a team as a code owner November 24, 2025 17:54
@viduni94 viduni94 requested a review from a team as a code owner December 4, 2025 23:32
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Dec 5, 2025

💚 Build Succeeded

  • Buildkite Build
  • Commit: 94683cc
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-243298-94683cc134d0

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
observabilityAIAssistant 486 484 -2

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observabilityAIAssistantApp 258.9KB 259.1KB +187.0B
observabilityAiAssistantManagement 102.7KB 103.2KB +516.0B
searchAssistant 108.0KB 108.2KB +187.0B
total +890.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observabilityAIAssistant 46.8KB 46.7KB -84.0B
Unknown metric groups

API count

id before after diff
observabilityAIAssistant 488 486 -2

History

cc @viduni94

@viduni94 viduni94 merged commit 8fb6f4d into elastic:main Dec 5, 2025
12 checks passed
JordanSh pushed a commit to JordanSh/kibana that referenced this pull request Dec 9, 2025
elastic#243298)

Closes elastic/obs-ai-team#314

## Summary

The multilingual Knowledge Base (KB) currently has 2 model options
- ELSER on ML node
- e5-small on ML node

This PR adds `ELSER in EIS` to the list of models available for the
Knowledge Base. Only one ELSER model will be shown to the user based on
whether they have access to EIS.

### How it works

#### New users of the KB
- For users who haven't installed the KB `AND` has access to EIS
     - The 2 model options would be ELSER in EIS and e5-small on ML node
- For users who haven't installed the KB `AND` does **not** have access
to EIS (No change)
- The 2 model options would be ELSER on ML node and e5-small on ML node

#### Existing users of the KB
- For users who have already installed the KB `AND` has access to EIS
     - They will be able to continue using ELSER on ML node
- If they want to use ELSER in EIS, they have to switch the KB model to
e5-small and switch again to ELSER via AI Assistant Settings to use
ELSER in EIS
- For users who have already installed the KB `AND` does **not** have
access to EIS (No change)

## Screenshots

### ELSER in EIS model option for user 
From a UI perspective, we don't distinguish between ELSER on EIS and
ELSER on ML node

<img width="2040" height="1154" alt="elser-in-eis-model-option-for-kb"
src="https://github.com/user-attachments/assets/270aa5e2-ac26-44d5-ba4c-6b4ec76e96c3"
/>

### KB index mapping
<img width="741" height="1046" alt="kb-index-mapping-with-ELSER-in-EIS"
src="https://github.com/user-attachments/assets/34c8f1fd-26f8-4b57-a3d7-ca731f611724"
/>

## Scenarios tested

- When ELSER in EIS is available
   - Install KB with ELSER in EIS
   - Recall entries
   - Update KB model to e5-small via settings
   - Recall entries

- When ELSER in EIS is not available
   - Install KB with ELSER on ML node
   - Recall entries
   - Update KB model to e5-small via settings
   - Recall entries

### 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)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Release Note

Adds ELSER in EIS as a model option for the Observability and Search AI
Assistant Knowledge Base

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting ci:project-deploy-observability Create an Observability project release_note:feature Makes this part of the condensed release notes Team:Obs AI Assistant Observability AI Assistant Team:obs-ai Observability AI team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants