Skip to content

Commit 5d0eb2a

Browse files
szabostevedemjened
andauthored
[DOCS] Expands top_n parameter description in the PUT inference API docs (#111446) (#111454)
Co-authored-by: Adam Demjen <[email protected]>
1 parent edfbd5d commit 5d0eb2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/reference/inference/service-cohere.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ Specify whether to return doc text within the results.
131131
`top_n`::
132132
(Optional, integer)
133133
The number of most relevant documents to return, defaults to the number of the documents.
134+
If this {infer} endpoint is used in a `text_similarity_reranker` retriever query and `top_n` is set, it must be greater than or equal to `rank_window_size` in the query.
134135
=====
135136
+
136137
.`task_settings` for the `text_embedding` task type

0 commit comments

Comments
 (0)