Skip to content

Commit

Permalink
[DOCS] Expands top_n parameter description in the PUT inference API d…
Browse files Browse the repository at this point in the history
…ocs (#111446) (#111454)

Co-authored-by: Adam Demjen <demjened@gmail.com>
  • Loading branch information
szabosteve and demjened committed Jul 30, 2024
1 parent edfbd5d commit 5d0eb2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/inference/service-cohere.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ Specify whether to return doc text within the results.
`top_n`::
(Optional, integer)
The number of most relevant documents to return, defaults to the number of the documents.
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.
=====
+
.`task_settings` for the `text_embedding` task type
Expand Down

0 comments on commit 5d0eb2a

Please sign in to comment.