Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [ML] File data visualizer: only list sparse_embedding and text_…
…embedding inference endpoints (#196577) (#197031) # Backport This will backport the following commits from `main` to `8.x`: - [[ML] File data visualizer: only list sparse_embedding and text_embedding inference endpoints (#196577)](#196577) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-21T10:56:05Z","message":"[ML] File data visualizer: only list sparse_embedding and text_embedding inference endpoints (#196577)\n\nWhen listing the inference endpoints available for the semantic text\r\nfield, we should only list `sparse_embedding` and `text_embedding`\r\ntypes.\r\n\r\n<img width=\"353\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/95526f2b-e293-4e01-be79-b87e1ecb9a75\">\r\n\r\n\r\n\r\nThis PR adds a check to the `data_visualizer/inference_endpoints`\r\nendpoint to ensure only `sparse_embedding` and `text_embedding` types\r\nare used and they have at least one allocation.\r\nNOTE, the allocation check is currently commented out waiting on an es\r\nchange. https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nAlso renames the endpoint from `data_visualizer/inference_services` ->\r\n`data_visualizer/inference_endpoints`\r\nAnd renames variables which were incorrectly named \"service\" rather than\r\n\"endpoint\"","sha":"fb412ca0b7dfb997f2f84da62a12f32d3012ffb0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug",":ml","release_note:skip","Feature:File and Index Data Viz","Feature:File Upload","v9.0.0","v8.16.0","backport:version","v8.17.0"],"title":"[ML] File data visualizer: only list sparse_embedding and text_embedding inference endpoints","number":196577,"url":"https://github.com/elastic/kibana/pull/196577","mergeCommit":{"message":"[ML] File data visualizer: only list sparse_embedding and text_embedding inference endpoints (#196577)\n\nWhen listing the inference endpoints available for the semantic text\r\nfield, we should only list `sparse_embedding` and `text_embedding`\r\ntypes.\r\n\r\n<img width=\"353\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/95526f2b-e293-4e01-be79-b87e1ecb9a75\">\r\n\r\n\r\n\r\nThis PR adds a check to the `data_visualizer/inference_endpoints`\r\nendpoint to ensure only `sparse_embedding` and `text_embedding` types\r\nare used and they have at least one allocation.\r\nNOTE, the allocation check is currently commented out waiting on an es\r\nchange. https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nAlso renames the endpoint from `data_visualizer/inference_services` ->\r\n`data_visualizer/inference_endpoints`\r\nAnd renames variables which were incorrectly named \"service\" rather than\r\n\"endpoint\"","sha":"fb412ca0b7dfb997f2f84da62a12f32d3012ffb0"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196577","number":196577,"mergeCommit":{"message":"[ML] File data visualizer: only list sparse_embedding and text_embedding inference endpoints (#196577)\n\nWhen listing the inference endpoints available for the semantic text\r\nfield, we should only list `sparse_embedding` and `text_embedding`\r\ntypes.\r\n\r\n<img width=\"353\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/95526f2b-e293-4e01-be79-b87e1ecb9a75\">\r\n\r\n\r\n\r\nThis PR adds a check to the `data_visualizer/inference_endpoints`\r\nendpoint to ensure only `sparse_embedding` and `text_embedding` types\r\nare used and they have at least one allocation.\r\nNOTE, the allocation check is currently commented out waiting on an es\r\nchange. https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nAlso renames the endpoint from `data_visualizer/inference_services` ->\r\n`data_visualizer/inference_endpoints`\r\nAnd renames variables which were incorrectly named \"service\" rather than\r\n\"endpoint\"","sha":"fb412ca0b7dfb997f2f84da62a12f32d3012ffb0"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: James Gowdy <[email protected]>
- Loading branch information