Skip to content

Commit a7fdc10

Browse files
authored
[DOCS][ML] Use elasticsearch service instead of deprecated elser service in tutorials (#118007)
1 parent 1265f3e commit a7fdc10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/tab-widgets/inference-api/infer-api-task.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ the `cosine` measures are equivalent.
3636
------------------------------------------------------------
3737
PUT _inference/sparse_embedding/elser_embeddings <1>
3838
{
39-
"service": "elser",
39+
"service": "elasticsearch",
4040
"service_settings": {
4141
"num_allocations": 1,
4242
"num_threads": 1
@@ -206,7 +206,7 @@ PUT _inference/text_embedding/google_vertex_ai_embeddings <1>
206206
<2> A valid service account in JSON format for the Google Vertex AI API.
207207
<3> For the list of the available models, refer to the https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/text-embeddings-api[Text embeddings API] page.
208208
<4> The name of the location to use for the {infer} task. Refer to https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations[Generative AI on Vertex AI locations] for available locations.
209-
<5> The name of the project to use for the {infer} task.
209+
<5> The name of the project to use for the {infer} task.
210210

211211
// end::google-vertex-ai[]
212212

0 commit comments

Comments
 (0)