Skip to content

Commit 1274c5e

Browse files
kderussoleemthompo
andauthored
Update docs/reference/elasticsearch/rest-apis/retrievers/text-similarity-reranker-retriever.md
Co-authored-by: Liam Thompson <[email protected]>
1 parent d5b7b3d commit 1274c5e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/reference/elasticsearch/rest-apis/retrievers/text-similarity-reranker-retriever.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ score = ln(score), if score < 0
101101
`chunking_settings`
102102
: (Optional, `object`)
103103

104-
Settings for chunking text into smaller passages for scoring and reranking. Defaults to the optimal chunking settings for the Elastic Reranker. Refer to the Inference API for valid values for `chunking_settings`. Warning: if chunking settings are specified that chunk content into larger chunks than the reranker's token limit, it may result in truncation and negatively impact relevance.
104+
Settings for chunking text into smaller passages for scoring and reranking. Defaults to the optimal chunking settings for [Elastic Rerank](docs-content:///explore-analyze/machine-learning/nlp/ml-nlp-rerank.md). Refer to the [Inference API documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put#operation-inference-put-body-application-json-chunking_settings) for valid values for `chunking_settings`.
105+
:::{warning}
106+
If you configure chunks larger than the reranker's token limit, the results may be truncated. This can degrade relevance significantly.
107+
:::
105108

106109

107110
## Example: Elastic Rerank [text-similarity-reranker-retriever-example-elastic-rerank]

0 commit comments

Comments
 (0)