Resolution
Resolution helps you clean up duplicate entities, such as the same company written two different ways, by letting you merge them or keep them apart.
What it is for
Cortex compares entity names and aliases to find pairs that look alike. Each pair that looks like a possible duplicate becomes a candidate. You decide whether the two are really one entity.
The page says: "Review candidate duplicate entities surfaced by the rapidfuzz scan. Accept to merge, reject to keep them separate."
Find new candidates
Click Run scan to look for new pairs. The scan compares the main name and aliases of your entities.
When it finishes, a message tells you how many new pairs it found. If it found none, the message reads "Scan complete — no new duplicates above similarity 85%." (the number shown is the threshold the server used). If it fails, you see "Scan failed" with the reason.
The scan takes no settings on this page. The similarity threshold and the minimum name length are left to server defaults.
Filter by status
A row of chips filters the list. Pending is the default and is the only one where you can act. A count such as "3 candidates" appears at the right.
| Chip | Shows |
|---|---|
| Pending | Pairs waiting for your decision |
| Merged | Pairs that were merged |
| Skipped | Pairs that were kept separate |
| Split | Pairs resolved as split |
| All | Every pair |
Review a pair
Each candidate card shows:
| Part | What it shows |
|---|---|
| Entity A and Entity B | The two names, each with its ID |
| Percentage badge | The similarity score on a 0 to 100 scale. Its tooltip says "rapidfuzz similarity" |
| type tag | The entity type, when known |
| suggested note | The action the system suggests, when there is one |
For pending pairs there are two buttons:
- Accept (merge): treats the two as the same entity and merges them.
- Reject (keep separate): keeps them as two entities. The pair is recorded as skipped.
A success message confirms it, for example "Pair merged." or "Pair skipped." Pairs that are already resolved show "Resolved as" the outcome, with the date and time.
Run a scan
Click Run scan, or Run scan now if the list is empty.
Look at each pair
Compare the two names and the similarity percentage. A high score is a hint, not proof.
Decide
Click Accept (merge) if they are the same, or Reject (keep separate) if they are not.
If the list is empty you see No pending merge candidates, or "No candidates with status" followed by the status you chose. The page explains that the scan compares names and aliases across all entities. If loading fails, you see Couldn’t load merge candidates with a retry option.
The admin settings page: Entity resolution
Administrators have a separate page for the automatic merge policy. It is listed in the Cortex settings as Entity resolution and needs the cortex.admin permission. The page title is Entity Resolution. It has five sections.
Auto-merge control
| Setting | What it does |
|---|---|
| Auto-merge enabled | When on, pairs scoring at or above the threshold are merged without human review |
| Confidence threshold | A slider from 0 to 1 in steps of 0.01 |
| Exact threshold | A number box for typing the value |
Use Save to apply the change, or discard it. Changes take effect straight away, with no redeploy. Each value has a badge showing where it comes from: DB override (set by an admin), env var (a server seed) or hardcoded default.
Cortex features
Each switch saves as soon as you change it, and a message says "Cortex feature updated".
| Setting | What it does |
|---|---|
| Semantic edges | Proposes suggested links between related entities. They are proposals only, never asserted as fact automatically |
| Semantic edge suggest threshold | Entity pairs scoring at or above this value get a suggested link. Applies on release, blur or Enter |
| Document decomposition | Splits each document into individual claims instead of one whole-document memory |
| Self-authored memory | The system writes its own notes back into memory, one per well-connected entity, labelled as system-derived. It needs a promoter run to write anything |
| LLM NER | Uses an AI model to find more entities, in addition to the rule-based extractor |
| Spine-walk context pack | Builds retrieval context by walking the entity and memory links instead of similarity alone |
| Contradiction review queue | Sends detected contradictions between memories to a human review queue |
| Daily promoter sweep (03:00 UTC) | Runs every promoter once a day across projects with memory activity in the last 30 days |
Suggested links
A table of suggested links waiting for review, with From, Relationship, Confidence and To columns and a Refresh button. It shows the first 100.
- Accept turns the link into an asserted relationship.
- Reject asks you to confirm, then deletes the suggestion. The producer may suggest it again on a later run.
If the table is empty, the page says the producer is off by default and points you to Semantic edges under Cortex features.
Ground-truth labelling
Admins can record pairs of names that are known to be the same or different. These are used to score how well automatic merging works. Labels add up over time and never replace earlier ones.
| Field | Notes |
|---|---|
| Entity A name | Required |
| Entity B name | Required |
| Entity type | Optional, for example organization or person |
| Label | Same or Different |
| Notes | Optional |
Click Add label to save. Below the form, a Labels table lists them with Entity A, Entity B, Label, Type, Source and Added. A Label filter limits the list to Same or Different.
Calibration
This panel scores the current threshold against your ground-truth labels. It shows whether auto-merge is on or off, the threshold, how many pairs were auto-merged and how many were reversed. It then shows Precision, Recall, False-merge rate and Labelled pairs tiles, plus two tables of results per threshold. Without labels, the tiles stay empty and the page asks you to add some.