You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ You don't need to define model related settings and parameters, or create {infer
14
14
The recommended way to use <<semantic-search,semantic search>> in the {stack} is following the `semantic_text` workflow.
15
15
When you need more control over indexing and query settings, you can still use the complete {infer} workflow (refer to <<semantic-search-inference,this tutorial>> to review the process).
16
16
17
-
This tutorial uses the <<inference-example-elser,`elser` service>> for demonstration, but you can use any service and their supported models offered by the {infer-cap} API.
17
+
This tutorial uses the <<inference-example-elasticsearch-elser,`elasticsearch` service>> for demonstration, but you can use any service and their supported models offered by the {infer-cap} API.
18
18
19
19
20
20
[discrete]
@@ -34,24 +34,28 @@ Create an inference endpoint by using the <<put-inference-api>>:
<1> The task type is `sparse_embedding` in the path as the `elser` service will
50
51
be used and ELSER creates sparse vectors. The `inference_id` is
51
52
`my-elser-endpoint`.
52
-
<2> The `elser` service is used in this example.
53
+
<2> The `elasticsearch` service is used in this example.
53
54
<3> This setting enables and configures {ml-docs}/ml-nlp-auto-scale.html#nlp-model-adaptive-allocations[adaptive allocations].
54
55
Adaptive allocations make it possible for ELSER to automatically scale up or down resources based on the current load on the process.
56
+
<4> The `model_id` must be the ID of one of the built-in ELSER models.
57
+
Valid values are `.elser_model_2` and `.elser_model_2_linux-x86_64`.
58
+
For further details, refer to the {ml-docs}/ml-nlp-elser.html[ELSER model documentation].
55
59
56
60
[NOTE]
57
61
====
@@ -282,4 +286,4 @@ query from the `semantic-embedding` index:
282
286
283
287
* If you want to use `semantic_text` in hybrid search, refer to https://colab.research.google.com/github/elastic/elasticsearch-labs/blob/main/notebooks/search/09-semantic-text.ipynb[this notebook] for a step-by-step guide.
284
288
* For more information on how to optimize your ELSER endpoints, refer to {ml-docs}/ml-nlp-elser.html#elser-recommendations[the ELSER recommendations] section in the model documentation.
285
-
* To learn more about model autoscaling, refer to the {ml-docs}/ml-nlp-auto-scale.html[trained model autoscaling] page.
289
+
* To learn more about model autoscaling, refer to the {ml-docs}/ml-nlp-auto-scale.html[trained model autoscaling] page.
0 commit comments