[Search] Add Inference endpoint Flyout in Inference Management UI#203204
Conversation
packages/kbn-shared-gen-ai-ui/components/providers/get_providers.ts
Outdated
Show resolved
Hide resolved
f7b0a64 to
054e402
Compare
d4eac29 to
42763ea
Compare
42763ea to
dc0465b
Compare
|
Pinging @elastic/kibana-core (Team:Core) |
TinaHeiligers
left a comment
There was a problem hiding this comment.
Change to the plugin's manifest LGTM
x-pack/packages/kbn-inference-endpoint-ui-common/src/components/additional_options_fields.tsx
Outdated
Show resolved
Hide resolved
x-pack/packages/kbn-inference-endpoint-ui-common/src/components/inference_services.tsx
Outdated
Show resolved
Hide resolved
x-pack/packages/kbn-inference-endpoint-ui-common/src/components/inference_services.tsx
Outdated
Show resolved
Hide resolved
YulNaumenko
left a comment
There was a problem hiding this comment.
LGTM! Thank you for making the shared package, awesome work! I have a draft PR where AI connector fully migrated to use a new shared components #204885
I left a few minor clean up comments, but it could be done as a follow up.
| ], | ||
| "group": "platform", | ||
| "visibility": "shared" | ||
| } |
There was a problem hiding this comment.
If this package is going to be used from both Search solution and connectors, then I believe it makes sense to categorise it as platform/shared like you did.
However, the package should be placed under x-pack/platform/packages/shared.
Can you relocate it and update the PR?
There was a problem hiding this comment.
@gsoldevila : moved the package into x-pack/platform/packages/shared
|
@efegurkan Addressed most of the comments. The package is kind of shared and copied from |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
|
|
Starting backport for target branches: 8.x |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…astic#203204) ## Summary This PR includes - Create a UI component package to share AI connector form between multiple plugins - Integrate the packaged components into the `Search Inference Endpoint` plugin. https://github.com/user-attachments/assets/2b447b44-3d1d-4422-b76d-8d8fd160b2bc ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [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/packages/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] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit bc466ea) # Conflicts: # .github/CODEOWNERS # x-pack/.i18nrc.json
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…astic#203204) ## Summary This PR includes - Create a UI component package to share AI connector form between multiple plugins - Integrate the packaged components into the `Search Inference Endpoint` plugin. https://github.com/user-attachments/assets/2b447b44-3d1d-4422-b76d-8d8fd160b2bc ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [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/packages/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] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit bc466ea) # Conflicts: # .github/CODEOWNERS # x-pack/.i18nrc.json
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
…UI (#203204) (#205172) # Backport This will backport the following commits from `main` to `8.x`: - [[Search] Add Inference endpoint Flyout in Inference Management UI (#203204)](#203204) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Samiul Monir","email":"150824886+Samiul-TheSoccerFan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-25T03:23:25Z","message":"[Search] Add Inference endpoint Flyout in Inference Management UI (#203204)\n\n## Summary\r\n\r\nThis PR includes\r\n- Create a UI component package to share AI connector form between\r\nmultiple plugins\r\n- Integrate the packaged components into the `Search Inference Endpoint`\r\nplugin.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2b447b44-3d1d-4422-b76d-8d8fd160b2bc\r\n\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [X] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [X] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [X] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"bc466ea738107b00a8dbba216630369ff729d729","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","Team:Search","Team:ML","ci:project-deploy-elasticsearch","backport:version","v8.18.0"],"number":203204,"url":"https://github.com/elastic/kibana/pull/203204","mergeCommit":{"message":"[Search] Add Inference endpoint Flyout in Inference Management UI (#203204)\n\n## Summary\r\n\r\nThis PR includes\r\n- Create a UI component package to share AI connector form between\r\nmultiple plugins\r\n- Integrate the packaged components into the `Search Inference Endpoint`\r\nplugin.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2b447b44-3d1d-4422-b76d-8d8fd160b2bc\r\n\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [X] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [X] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [X] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"bc466ea738107b00a8dbba216630369ff729d729"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203204","number":203204,"mergeCommit":{"message":"[Search] Add Inference endpoint Flyout in Inference Management UI (#203204)\n\n## Summary\r\n\r\nThis PR includes\r\n- Create a UI component package to share AI connector form between\r\nmultiple plugins\r\n- Integrate the packaged components into the `Search Inference Endpoint`\r\nplugin.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2b447b44-3d1d-4422-b76d-8d8fd160b2bc\r\n\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [X] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [X] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [X] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"bc466ea738107b00a8dbba216630369ff729d729"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…astic#203204) ## Summary This PR includes - Create a UI component package to share AI connector form between multiple plugins - Integrate the packaged components into the `Search Inference Endpoint` plugin. https://github.com/user-attachments/assets/2b447b44-3d1d-4422-b76d-8d8fd160b2bc ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [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/packages/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] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…astic#203204) ## Summary This PR includes - Create a UI component package to share AI connector form between multiple plugins - Integrate the packaged components into the `Search Inference Endpoint` plugin. https://github.com/user-attachments/assets/2b447b44-3d1d-4422-b76d-8d8fd160b2bc ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [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/packages/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] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…ents from '@kbn/inference-endpoint-ui-common' (#204885) 1. Migrated stack-connector `.inference` to use share UI components #203204 2. Extended package `@kbn/inference-endpoint-ui-common` to support edit mode for the form of the connector, by adding the optional property `isEdit` to `InferenceServiceFormFields` component 3. Resolves flaky timing out test #205129 --------- Co-authored-by: Samiul Monir <samiul.monir@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…components from '@kbn/inference-endpoint-ui-common' (#204885) (#205671) # Backport This will backport the following commits from `main` to `8.x`: - [[AI Connector] Migrates AI inference Connector to use a shared components from '@kbn/inference-endpoint-ui-common' (#204885)](#204885) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Yuliia Naumenko","email":"jo.naumenko@gmail.com"},"sourceCommit":{"committedDate":"2025-01-07T04:22:20Z","message":"[AI Connector] Migrates AI inference Connector to use a shared components from '@kbn/inference-endpoint-ui-common' (#204885)\n\n1. Migrated stack-connector `.inference` to use share UI components\r\nhttps://github.com//pull/203204\r\n2. Extended package `@kbn/inference-endpoint-ui-common` to support edit\r\nmode for the form of the connector, by adding the optional property\r\n`isEdit` to `InferenceServiceFormFields` component\r\n3. Resolves flaky timing out test\r\nhttps://github.com//issues/205129\r\n\r\n---------\r\n\r\nCo-authored-by: Samiul Monir <samiul.monir@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"47b19ba29c707eabf6c2bc12e21b714aae91ebed","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","8.18 candidate","v8.18.0"],"number":204885,"url":"https://github.com/elastic/kibana/pull/204885","mergeCommit":{"message":"[AI Connector] Migrates AI inference Connector to use a shared components from '@kbn/inference-endpoint-ui-common' (#204885)\n\n1. Migrated stack-connector `.inference` to use share UI components\r\nhttps://github.com//pull/203204\r\n2. Extended package `@kbn/inference-endpoint-ui-common` to support edit\r\nmode for the form of the connector, by adding the optional property\r\n`isEdit` to `InferenceServiceFormFields` component\r\n3. Resolves flaky timing out test\r\nhttps://github.com//issues/205129\r\n\r\n---------\r\n\r\nCo-authored-by: Samiul Monir <samiul.monir@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"47b19ba29c707eabf6c2bc12e21b714aae91ebed"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204885","number":204885,"mergeCommit":{"message":"[AI Connector] Migrates AI inference Connector to use a shared components from '@kbn/inference-endpoint-ui-common' (#204885)\n\n1. Migrated stack-connector `.inference` to use share UI components\r\nhttps://github.com//pull/203204\r\n2. Extended package `@kbn/inference-endpoint-ui-common` to support edit\r\nmode for the form of the connector, by adding the optional property\r\n`isEdit` to `InferenceServiceFormFields` component\r\n3. Resolves flaky timing out test\r\nhttps://github.com//issues/205129\r\n\r\n---------\r\n\r\nCo-authored-by: Samiul Monir <samiul.monir@elastic.co>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"47b19ba29c707eabf6c2bc12e21b714aae91ebed"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…astic#203204) ## Summary This PR includes - Create a UI component package to share AI connector form between multiple plugins - Integrate the packaged components into the `Search Inference Endpoint` plugin. https://github.com/user-attachments/assets/2b447b44-3d1d-4422-b76d-8d8fd160b2bc ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [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/packages/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] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…ents from '@kbn/inference-endpoint-ui-common' (elastic#204885) 1. Migrated stack-connector `.inference` to use share UI components elastic#203204 2. Extended package `@kbn/inference-endpoint-ui-common` to support edit mode for the form of the connector, by adding the optional property `isEdit` to `InferenceServiceFormFields` component 3. Resolves flaky timing out test elastic#205129 --------- Co-authored-by: Samiul Monir <samiul.monir@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
This PR includes
Search Inference Endpointplugin.open-ai.mov
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.