mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.16`: - [Add watsonx icon for inference endpoints management page (#197116)](https://github.com/elastic/kibana/pull/197116) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Saikat Sarkar","email":"132922331+saikatsarkar056@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-22T15:10:40Z","message":"Add watsonx icon for inference endpoints management page (#197116)\n\nThis PR adds IBM Watsonx ai support for the Inference Endpoints\r\nManagement UI.\r\n\r\n<img width=\"1249\" alt=\"Screenshot 2024-10-21 at 12 22 09 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/58516bef-4800-4198-91bf-c428d878d787\">","sha":"8e1fcc126ac1b5b012b5730d51ca1ba6304020d5","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:EnterpriseSearch","backport:prev-minor","v8.16.0"],"title":"Add watsonx icon for inference endpoints management page","number":197116,"url":"https://github.com/elastic/kibana/pull/197116","mergeCommit":{"message":"Add watsonx icon for inference endpoints management page (#197116)\n\nThis PR adds IBM Watsonx ai support for the Inference Endpoints\r\nManagement UI.\r\n\r\n<img width=\"1249\" alt=\"Screenshot 2024-10-21 at 12 22 09 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/58516bef-4800-4198-91bf-c428d878d787\">","sha":"8e1fcc126ac1b5b012b5730d51ca1ba6304020d5"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197116","number":197116,"mergeCommit":{"message":"Add watsonx icon for inference endpoints management page (#197116)\n\nThis PR adds IBM Watsonx ai support for the Inference Endpoints\r\nManagement UI.\r\n\r\n<img width=\"1249\" alt=\"Screenshot 2024-10-21 at 12 22 09 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/58516bef-4800-4198-91bf-c428d878d787\">","sha":"8e1fcc126ac1b5b012b5730d51ca1ba6304020d5"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Saikat Sarkar <132922331+saikatsarkar056@users.noreply.github.com>
This commit is contained in:
parent
8e5ac2b7a4
commit
f9dee7cb67
4 changed files with 19 additions and 0 deletions
|
@ -287,6 +287,16 @@ export type InferenceServiceSettings =
|
|||
};
|
||||
};
|
||||
}
|
||||
| {
|
||||
service: 'watsonxai';
|
||||
service_settings: {
|
||||
api_key: string;
|
||||
url: string;
|
||||
model_id: string;
|
||||
project_id: string;
|
||||
api_version: string;
|
||||
};
|
||||
}
|
||||
| {
|
||||
service: 'amazonbedrock';
|
||||
service_settings: {
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.8085 10.0801H0.959956V10.9156L6.8085 10.9156V10.0801ZM0.959956 11.6741H6.8085V12.5097H0.959956V11.6741ZM2.62851 13.2682H5.13715V14.1038H2.62851V13.2682ZM5.13707 14.8654H2.62843V15.701H5.13707V14.8654ZM2.62849 16.4595H5.13713V17.295H2.62849V16.4595ZM5.13692 18.0535H2.62828V18.8891H5.13692L5.13692 18.0535ZM0.959839 19.6476H6.80838V20.4831H0.959839V19.6476ZM0.960034 21.2445H6.80858V22.0771H0.960034V21.2445ZM16.6373 20.4834H7.64251V19.6479H16.971C16.9025 19.9442 16.7892 20.2257 16.6373 20.4834ZM15.9372 16.4598H9.31402V17.2953H16.6374C16.4467 16.9753 16.2113 16.6938 15.9372 16.4598ZM9.31396 15.7013V14.8657H16.6373C16.4526 15.1857 16.2172 15.4672 15.9372 15.7013H9.31396ZM16.6375 11.6745H7.64265V12.51H16.9711C16.8937 12.2137 16.7805 11.9323 16.6375 11.6745ZM7.64259 10.0804H13.8725C14.7008 10.0804 15.4605 10.4004 16.0207 10.916H7.64259V10.0804ZM11.8197 13.2685H9.31402V14.1041L11.8197 14.1041V13.2685ZM16.9504 14.1041H14.3285V13.2685H17.0636C17.0636 13.5559 17.0248 13.8374 16.9504 14.1041ZM9.31406 18.0535H11.8197V18.8891H9.31406V18.0535ZM14.3285 18.8891V18.0535H16.9504C17.0249 18.3202 17.0636 18.6017 17.0636 18.8891H14.3285ZM7.64273 22.0714L13.8727 22.0803C14.7069 22.0803 15.4607 21.7603 16.0238 21.2448H7.64273V22.0714ZM21.8485 21.2445H17.6714V22.0771H21.8485V21.2445ZM17.6712 19.6479H21.8483V20.4834H17.6712V19.6479ZM21.8482 18.0538H19.3396V18.8894H21.8482V18.0538ZM19.3396 16.4598H21.8482V17.2953H19.3396V16.4598ZM17.6713 11.6741L23.0104 11.6741L23.2994 12.5097L17.6713 12.5097V11.6741ZM22.4562 10.0804H17.6713V10.916L22.7452 10.916L22.4562 10.0804ZM31.0397 21.2448H26.8596V22.0774H31.0397V21.2448ZM26.8597 19.6476H31.0398V20.4831H26.8597V19.6476ZM29.3683 18.0538H26.8596V18.8894H29.3683V18.0538ZM26.8596 16.4598H29.3682V17.2953H26.8596V16.4598ZM29.3684 15.701H26.8598V14.9335L26.5946 15.701L22.1136 15.701L21.8484 14.9335V15.701H19.3398V14.8654H21.8484H24.1188L24.3541 15.541L24.5895 14.8654L26.8598 14.8654H29.3684V15.701ZM29.3683 13.2685H25.1436L24.8546 14.1041L29.3683 14.1041V13.2685ZM25.9658 10.916L26.2548 10.0804H31.0397V10.916H25.9658ZM24.3541 22.0714L24.6431 21.2448H24.0651L24.3541 22.0714ZM24.9083 20.4831H23.8L23.505 19.6476H25.2062L24.9083 20.4831ZM23.2366 18.8894H25.4712L25.7661 18.0538H22.9416L23.2366 18.8894ZM26.0346 17.295H22.6769L22.3878 16.4595H26.3207L26.0346 17.295ZM19.3396 14.1041H23.8534L23.5644 13.2685L19.3396 13.2685V14.1041ZM31.04 12.5097H25.4119L25.6979 11.6741H31.04V12.5097Z" fill="black"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.5 KiB |
|
@ -21,6 +21,7 @@ import googleAIStudioIcon from '../../../../assets/images/providers/google_ai_st
|
|||
import mistralIcon from '../../../../assets/images/providers/mistral.svg';
|
||||
import amazonBedrockIcon from '../../../../assets/images/providers/amazon_bedrock.svg';
|
||||
import alibabaCloudAISearchIcon from '../../../../assets/images/providers/alibaba_cloud_ai_search.svg';
|
||||
import watsonxAIIcon from '../../../../assets/images/providers/watsonx_ai.svg';
|
||||
import { ServiceProviderKeys } from '../../types';
|
||||
import * as i18n from './translations';
|
||||
|
||||
|
@ -78,6 +79,10 @@ export const SERVICE_PROVIDERS: Record<ServiceProviderKeys, ServiceProviderRecor
|
|||
icon: openAIIcon,
|
||||
name: 'OpenAI',
|
||||
},
|
||||
[ServiceProviderKeys.watsonxai]: {
|
||||
icon: watsonxAIIcon,
|
||||
name: 'WatsonxAI',
|
||||
},
|
||||
};
|
||||
|
||||
export const ServiceProvider: React.FC<ServiceProviderProps> = ({ providerEndpoint }) => {
|
||||
|
|
|
@ -21,6 +21,7 @@ export enum ServiceProviderKeys {
|
|||
hugging_face = 'hugging_face',
|
||||
mistral = 'mistral',
|
||||
openai = 'openai',
|
||||
watsonxai = 'watsonxai',
|
||||
}
|
||||
|
||||
export enum SortFieldInferenceEndpoint {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue