Retrieval profiles
Save how your knowledge is searched as a profile, apply it to collections, and try it on your own content before you save.
A retrieval profile is a saved set of search settings. Collections search with the profile you give them, so you decide once how a body of knowledge should be searched, instead of hoping one fixed setting suits every collection.
Open Knowledge → Retrieval to create and manage them.
The settings
| Setting | What it does | Default |
|---|---|---|
| Search mode | Hybrid finds passages by meaning and also by the exact words in the question. Meaning only ignores exact words. | Hybrid |
| Passages to return | How many passages come back, 1 to 20. | 5 |
| Minimum match | Meaning matches below this score (0 to 100%) are left out. | 70% |
| Meaning versus exact words | Hybrid only. How much of the ranking comes from meaning and how much from exact keywords. | 70% meaning |
| How the two rankings combine | Hybrid only. Rank-based fusion (recommended) or score-based average. | Rank-based |
| Re-rank the shortlist | A second relevance pass that puts the best passages first. | On |
Minimum match and exact words
In hybrid mode, Minimum match filters the passages found by meaning. A passage that contains the exact words in the question is kept either way, because keyword matches have no similarity score to filter on. Use Meaning only if you want one strict bar for everything.
Starting points
When you create a profile you can start from one of four presets, then change anything.
- Balanced: a good default for most knowledge bases.
- Exact answers: policies, contracts and anything where the wording matters. Leans on exact keywords and only returns strong matches.
- Broad discovery: research and support search. Returns more passages and accepts looser matches.
- Meaning only: finds passages that say the same thing in different words.
Which profile a search uses
A search uses the first of these that applies:
- The profile named on the request (
profile_id). - The profile on the collection being searched. If you search several collections, the first one that has a profile, by name.
- The workspace default profile. Only one profile can be the default.
- The built-in settings, which are the Balanced preset.
Until you create a profile, everything uses the built-in settings.
Apply a profile to collections
On the Retrieval page, tick the collections that should use the profile under Where it applies. You can also choose a collection's profile in its own Retrieval section. A collection uses one profile at a time, and documents inside it inherit that profile. Deleting a profile sends its collections back to the workspace default.
Try it before you save
The Try these settings panel searches your real content with the settings as you are editing them, saved or not. For each passage it shows:
- the document and collections it came from,
- the meaning score and the keyword score,
- the re-rank score, when re-ranking is on,
- what found it: meaning, exact keywords, or both.
Trying settings is not billed as a knowledge query and records no gap.
Where profiles apply today
Profiles apply to collection search: the dashboard, POST /v1/collections/query, and the Try panel. Intents and agents that retrieve through a domain still use their own retrieval settings (top_k, similarity threshold and source types on the intent). Using a profile there is planned.
See the Retrieval profiles API to manage profiles from code.