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
Copy file name to clipboardExpand all lines: src/content/changelog/ai-search/2025-10-27-ai-search-reranking-system-prompt.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ date: 2025-10-28
8
8
9
9
[AI Search](/ai-search/) now supports reranking for improved retrieval quality and allows you to set the system prompt directly in your API requests.
10
10
11
-
## Reranking for more relevant results
11
+
## Rerank for more relevant results
12
12
13
13
You can now enable [reranking](/ai-search/configuration/reranking/) to reorder retrieved documents based on their semantic relevance to the user’s query. Reranking helps improve accuracy, especially for large or noisy datasets where vector similarity alone may not produce the optimal ordering.
Copy file name to clipboardExpand all lines: src/content/docs/ai-search/configuration/reranking.mdx
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ sidebar:
5
5
order: 4
6
6
---
7
7
8
+
import { DashButton } from"~/components";
9
+
8
10
Reranking can help improve the quality of AI Search results by reordering retrieved documents based on semantic relevance to the user’s query. It applies a secondary model after retrieval to "rerank" the top results before they are outputted.
9
11
10
12
## How it works
@@ -14,7 +16,7 @@ By default, reranking is **disabled** for all AI Search instances. You can enabl
14
16
When enabled, AI Search will:
15
17
16
18
1. Retrieve a set of relevant results from your index, constrained by your `max_num_of_results` and `score_threshold` parameters.
17
-
2. Pass those results through a [reranking model](/ai-search/configuration/models/supported-models/)
19
+
2. Pass those results through a [reranking model](/ai-search/configuration/models/supported-models/).
18
20
3. Return the reranked results, which the text generation model can use for answer generation.
19
21
20
22
Reranking helps improve accuracy, especially for large or noisy datasets where vector similarity alone may not produce the optimal ordering.
0 commit comments