Skip to content

Commit cbbf58e

Browse files
authored
Kderusso/sparse vector ci failure (#117930) (#132505)
* Fix CI failure in SparseVectorQueryBuilderTests * Unmute test (cherry picked from commit 97601b1)
1 parent 54655dd commit cbbf58e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,28 @@ PUT test-index
256256
}
257257
```
258258

259+
## Troubleshooting semantic_text fields [troubleshooting-semantic-text-fields]
260+
261+
If you want to verify that your embeddings look correct, you can view the
262+
inference data that `semantic_text` typically hides using `fields`.
263+
264+
```console
265+
POST test-index/_search
266+
{
267+
"query": {
268+
"match": {
269+
"my_semantic_field": "Which country is Paris in?"
270+
},
271+
"fields": [
272+
"_inference_fields"
273+
]
274+
}
275+
}
276+
```
277+
278+
This will return verbose chunked embeddings content that is used to perform
279+
semantic search for `semantic_text` fields.
280+
259281

260282
## Limitations [limitations]
261283

0 commit comments

Comments
 (0)