From 4f3f9b40da2f25dfdee78c4e5303794d4cf4b17a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 12 Mar 2025 17:02:31 +0100 Subject: [PATCH] [E&A][bugbash] Fixes an admonition in HuggingFace inference integration docs. --- .../inference-api/huggingface-inference-integration.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/explore-analyze/elastic-inference/inference-api/huggingface-inference-integration.md b/explore-analyze/elastic-inference/inference-api/huggingface-inference-integration.md index ced0ccd53f..ed7aeb215f 100644 --- a/explore-analyze/elastic-inference/inference-api/huggingface-inference-integration.md +++ b/explore-analyze/elastic-inference/inference-api/huggingface-inference-integration.md @@ -15,12 +15,10 @@ Refer to the [{{infer-cap}} APIs](https://www.elastic.co/docs/api/doc/elasticsea Creates an {{infer}} endpoint to perform an {{infer}} task with the `hugging_face` service. - ## {{api-request-title}} [infer-service-hugging-face-api-request] `PUT /_inference//` - ## {{api-path-parms-title}} [infer-service-hugging-face-api-path-params] `` @@ -33,8 +31,6 @@ Creates an {{infer}} endpoint to perform an {{infer}} task with the `hugging_fac * `text_embedding`. - - ## {{api-request-body-title}} [infer-service-hugging-face-api-request-body] `chunking_settings` @@ -52,7 +48,6 @@ Creates an {{infer}} endpoint to perform an {{infer}} task with the `hugging_fac `strategy` : (Optional, string) Specifies the chunking strategy. It could be either `sentence` or `word`. - `service` : (Required, string) The type of service supported for the specified task type. In this case, `hugging_face`. @@ -63,7 +58,6 @@ Creates an {{infer}} endpoint to perform an {{infer}} task with the `hugging_fac `api_key` : (Required, string) A valid access token of your Hugging Face account. You can find your Hugging Face access tokens or you can create a new one [on the settings page](https://huggingface.co/settings/tokens). - ::::{important} You need to provide the API key only once, during the {{infer}} model creation. The [Get {{infer}} API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-get) does not retrieve your API key. After creating the {{infer}} model, you cannot change the associated API key. If you want to use a different API key, delete the {{infer}} model and recreate it with the same name and the updated API key. ::::