Skip to content

[Search] Add descriptions to semantic_text field inference endpoint select#249265

Merged
seialkali merged 4 commits intoelastic:mainfrom
seialkali:add-descriptions-inference-endpoint-select
Feb 5, 2026
Merged

[Search] Add descriptions to semantic_text field inference endpoint select#249265
seialkali merged 4 commits intoelastic:mainfrom
seialkali:add-descriptions-inference-endpoint-select

Conversation

@seialkali
Copy link
Copy Markdown
Contributor

@seialkali seialkali commented Jan 15, 2026

Summary

When configuring a semantic_text field in an index mapping, users must select an inference endpoint from a dropdown list. Previously, this list provided no contextual information, making it difficult to understand the differences between available endpoints.

This change enhances the endpoint selection experience by adding descriptive text to each inference endpoint in the dropdown. These descriptions help users better understand the characteristics of each endpoint, enabling more informed and confident selection during mapping configuration.

Screenshots

Screenshot 2026-01-30 at 15 34 55

Testing

You will need to run EIS locally to test this PR. Instructions for running EIS can be found here: https://github.com/elastic/kibana/blob/main/x-pack/platform/packages/shared/kbn-inference-cli/README.md#eis

  1. Create an index
  2. Navigate to the mappings tab of the index details page
  3. Click the Add field button
  4. Select the Semantic text field type
  5. Click on the inference endpoint selector
  6. Confirm you can see the description under the inference ID, and can successfully search for and select an endpoint in the popover

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

@seialkali seialkali force-pushed the add-descriptions-inference-endpoint-select branch from adc38f9 to 80be573 Compare January 30, 2026 15:42
@seialkali seialkali marked this pull request as ready for review January 30, 2026 15:57
@seialkali seialkali requested a review from a team as a code owner January 30, 2026 15:57
@seialkali
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@damian-polewski damian-polewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @seialkali, I have 2 small nits but overall the code looks good and selectable works well. Let me know what do you think!

@seialkali seialkali force-pushed the add-descriptions-inference-endpoint-select branch from 94ab12c to 5e73dea Compare February 3, 2026 16:46
@seialkali seialkali force-pushed the add-descriptions-inference-endpoint-select branch from 5e73dea to 13fdba1 Compare February 4, 2026 11:06
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Feb 4, 2026

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #13 / "before all" hook in "{root}"
  • [job] [logs] FTR Configs #76 / integrations When on the Trusted Apps list "before all" hook for "should not show page title if there is no trusted app"
  • [job] [logs] Scout: [ platform / streams_app-serverless-oblt ] plugin / serverless-oblt - Stream data processing - data sources management - should allow adding a new kql data source
  • [job] [logs] Scout: [ platform / streams_app-serverless-oblt ] plugin / serverless-oblt - Stream data processing - data sources management - should allow adding a new kql data source
  • [job] [logs] Scout: [ platform / streams_app-stateful ] plugin / should allow adding a new kql data source
  • [job] [logs] Scout: [ platform / streams_app-serverless-oblt ] plugin / should allow adding a new kql data source
  • [job] [logs] Scout: [ platform / streams_app-stateful ] plugin / should allow adding a new kql data source
  • [job] [logs] Scout: [ platform / streams_app-serverless-oblt ] plugin / should allow adding a new kql data source
  • [job] [logs] Scout: [ platform / streams_app-stateful ] plugin / stateful - Stream data processing - data sources management - should allow adding a new kql data source
  • [job] [logs] Scout: [ platform / streams_app-stateful ] plugin / stateful - Stream data processing - data sources management - should allow adding a new kql data source

Metrics [docs]

Async chunks

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

id before after diff
indexManagement 739.8KB 740.1KB +259.0B

Page load bundle

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

id before after diff
indexManagement 34.5KB 34.5KB +7.0B
Unknown metric groups

async chunk count

id before after diff
indexManagement 8 7 -1

History

Copy link
Copy Markdown
Contributor

@damian-polewski damian-polewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I added one non-blocking nit but overall looks good!

@seialkali seialkali merged commit 11e6d18 into elastic:main Feb 5, 2026
16 checks passed
mbondyra added a commit to mbondyra/kibana that referenced this pull request Feb 5, 2026
* commit '5c0872d56bc0268177cd3c7150a1685481fb5238': (221 commits)
  Add .cursorignore file (elastic#251709)
  [Search] Add descriptions to semantic_text field inference endpoint select (elastic#249265)
  [Agent Builder] Agent skills implementation (elastic#251209)
  [Lens] [ES|QL] Improve types for ES|QL conversion. (elastic#251042)
  Update the trace waterfall to make it easy to understand (elastic#250442)
  [ES|QL] [Lens] Adds query stats (elastic#251029)
  [Lens] Fix KQL character escaping when query is generated from Top values column (breakdown). (elastic#250925)
  fix(kbn-elastic-assistant): fix a11y issue with missing label on flyout (elastic#251656)
  Update dependency @elastic/monaco-esql to v3.1.16 (main) (elastic#251666)
  [Automatic Import V2] Add langsmith tracing (elastic#251592)
  [scout] fix duplicated test failure reports in Buildkite annotations (elastic#251455)
  chore(NA): remove us-central1-b from gcp zones on high load jobs (elastic#251748)
  skip flaky suite (elastic#250973)
  [Lens] Allow read only view for users with write permissions but having no write access to the dashboard (elastic#247746)
  [CI] Increase artifacts disk to 180gb (elastic#251774)
  [content-list] 1. Provider Foundation (elastic#251344)
  [AI Infra] Add missing ES|QL commands and functions documentation for inference tasks (elastic#249089)
  [docs-utils] 4️⃣ pre-req: Prepare for new validations (elastic#250810)
  [APM] Extend React flow service map test coverage (elastic#251624)
  [scout] discover tests with custom server configs (elastic#251297)
  ...

# Conflicts:
#	src/platform/plugins/shared/dashboard/tsconfig.json
#	x-pack/platform/plugins/shared/agent_builder_platform/server/tools/create_visualization/create_visualization.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants