You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include Pinned Retriever in 8.19 Documentation (#129217)
* Document pinned retriever in 8.19 retrievers overview
* updated the changes in the doc
* made changes
* Added pinned to retrievers overview doc
* Pinned example added to the asciidoc
* Modified & fixed issues
* Fixed PR docs
* Ascii files modified
* Fixing formatting issues
* Just fixed the formatting overall
Full composability means we can chain together multiple retrievers of the same type. For instance,
1483
1482
imagine we have a computationally expensive reranker that's specialized for AI content. We can rerank the results of a `text_similarity_reranker` using another `text_similarity_reranker` retriever. Each reranker can operate on different fields and/or use different inference services.
1484
1483
@@ -1523,3 +1522,33 @@ Note that our example applies two reranking steps. First, we rerank the top 100
1523
1522
documents from the `knn` search using the `my-rerank-model` reranker. Then we
1524
1523
pick the top 10 results and rerank them using the more fine-grained
A list of document IDs to pin at the top of the results, in the order provided.
83
+
84
+
`docs`::
85
+
(Optional, array of objects)
86
+
+
87
+
List of objects specifying documents to pin. Each object must contain at least an `_id` field, and may also specify `_index` if pinning documents across multiple indices.
88
+
89
+
`retriever`::
90
+
(Optional, retriever object)
91
+
+
92
+
A retriever (for example a `standard` retriever or a specialized retriever such as `rrf` retriever) used to retrieve the remaining documents after the pinned ones.
0 commit comments