From cef856486b2860e86bc721e8f7dc8a119164938c Mon Sep 17 00:00:00 2001 From: Haystack Bot <73523382+HaystackBot@users.noreply.github.com> Date: Fri, 19 Dec 2025 10:14:54 +0100 Subject: [PATCH] Sync Haystack API reference on Docusaurus (#10271) Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com> --- docs-website/reference/haystack-api/rankers_api.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs-website/reference/haystack-api/rankers_api.md b/docs-website/reference/haystack-api/rankers_api.md index 4dc99ef54..debeda98b 100644 --- a/docs-website/reference/haystack-api/rankers_api.md +++ b/docs-website/reference/haystack-api/rankers_api.md @@ -813,8 +813,12 @@ Creates an instance of SentenceTransformersSimilarityRanker. - `top_k`: The maximum number of documents to return per query. - `query_prefix`: A string to add at the beginning of the query text before ranking. Use it to prepend the text with an instruction, as required by reranking models like `bge`. +- `query_suffix`: A string to add at the end of the query text before ranking. +Use it to append the text with an instruction, as required by reranking models like `qwen`. - `document_prefix`: A string to add at the beginning of each document before ranking. You can use it to prepend the document with an instruction, as required by embedding models like `bge`. +- `document_suffix`: A string to add at the end of each document before ranking. You can use it to append the document +with an instruction, as required by embedding models like `qwen`. - `meta_fields_to_embed`: List of metadata fields to embed with the document. - `embedding_separator`: Separator to concatenate metadata fields to the document. - `scale_score`: If `True`, scales the raw logit predictions using a Sigmoid activation function.