Skip to content

Commit 457e7b8

Browse files
committed
Adds additional information, changes admonition types
1 parent 576d820 commit 457e7b8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/reference/elasticsearch/mapping-reference/semantic-text.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ serverless: ga
546546

547547
:::{important}
548548
The recommended method for retrieving embeddings differs between {{es}} versions 9.2 and earlier.
549-
For instructions on retrieving embeddings in versions earlier than 9.2, refer to [Returning semantic field embeddings using `fields`](#retrieve-embeddings-9.0-9.1).
549+
For instructions on retrieving embeddings in versions earlier than 9.2, refer to [Returning semantic field embeddings using `fields`](#return-embeddings-fields).
550550
:::
551551

552552
By default, the embeddings generated for `semantic_text` fields are stored internally and **not included in `_source`** when retrieving documents.
@@ -704,14 +704,15 @@ semantic search for `semantic_text` fields:
704704
2. Lists details about the model used to generate embeddings, such as the service name and task type.
705705
3. The embeddings generated for this chunk.
706706

707-
## Returning semantic field embeddings using `fields` [retrieve-embeddings-9.0-9.1]
707+
## Returning semantic field embeddings using `fields` [return-embeddings-fields]
708708

709-
:::{warning}
710-
This method is only recommended for {{es}} versions earlier than 9.2.
709+
:::{important}
710+
This method for returning semantic field embeddings is recommended only for {{es}} versions earlier than 9.2.
711711
For version 9.2 and later, use the [`exclude_vectors`](#troubleshooting-semantic-text-fields) parameter instead.
712712
:::
713713

714714
To retrieve stored embeddings, use the `fields` parameter with `_inference_fields`. This lets you include the vector data that is not shown by default in the response.
715+
The `fields` parameter only works with the `_search` endpoint.
715716

716717
```console
717718
POST my-index/_search

0 commit comments

Comments
 (0)