Docs
Sign in

Entity Graph

Entity Graph draws the entities Cortex has found as dots on a map, with lines between the ones that are related.

Screenshot to add: The Entity graph tab: type chips and a Min mentions slider above a canvas of connected dots.

What it is for

Use the graph to see who and what is connected to whom. Click a dot to read about an entity. Click a line to read about the relationship between two entities.

The graph shows entities that Cortex extracted from your memories. Lines come from the relationships that Cortex found between them.

Choose which entity types to show

Above the map is a row of round chips, one for each entity type. Each chip shows the total number of entities of that type. A dash means the count is still loading or could not be loaded.

ChipWhat it holds
OrganizationsCompanies and other organizations. On at first
Named entitiesNamed people and things. On at first
DatesDate values. Off at first
VersionsVersion numbers. Off at first
PercentsPercentage values. Off at first
Ticket IDsTicket-style identifiers. Off at first

Click a chip to turn that type on or off. The code notes that the last four types are mostly leftover noise from automatic extraction, which is why they start switched off.

Your choices are saved in the page address, so you can bookmark or share a view.

Hide rarely mentioned entities

The Min mentions slider hides entities that appear in fewer than the chosen number of memories. The hint says these are "usually NER noise". The lowest setting is 1, which shows everything. The highest setting follows your data, up to 20.

When the slider is above 1, a Show all button appears. It sets the slider back to 1.

Read the map

A line above the map summarizes what you see: how many entities, how many edges are shown, and how many relationships there are in total at a confidence of 0.3 or higher. For example, "12 entities · 20 edges shown of 340 relationships at confidence ≥ 0.3".

The page also tells you how to use the map: hover or focus a dot to preview its neighbours. Click to select it. Click again, or press Enter, to open it.

A Legend on the canvas shows the color of each visible type and the line styles:

Line styleMeaning
Solid, thinstructural relationship
Dashedsemantic relationship
Solid, thickcausal relationship
Suggested badgeA proposal. The legend says "= proposal"

A Suggested link is always drawn dashed. It is a suggestion from Cortex, not a confirmed fact.

Open an entity

Click a dot twice (or select it and press Enter) to open the Entity details panel. It shows:

FieldWhat it shows
IDThe entity's unique ID
Canonical nameThe main name Cortex uses
TypeThe entity type
AliasesOther names for the same entity, or a dash if none
AttributesExtra details stored for the entity, or a dash if none

Below the fields are two lists:

  • Relationships: the entity's links, each showing its type, an arrow (outgoing or incoming), the other entity's name and a confidence bar. Click one to open it. The list shows the first 25.
  • Source memories: the memories the entity came from, with an Open memory link on each. The list shows the first 25.

If an entity has no relationships in the current graph, the panel says so and suggests adjusting the filters or opening the Relationships tab. If there are no source memories, the panel says the entity may have been added by a probe.

Open a relationship

Click a line to open the Relationship details panel. It is the same panel used on the Relationships page.

  1. Pick the types you care about

    Turn the type chips on or off. Start with Organizations and Named entities.

  2. Cut the noise

    Raise Min mentions until only entities seen in several memories remain.

  3. Explore

    Hover a dot to preview its neighbours. Select it and press Enter to open its details.

  4. Follow a link

    In the Relationships list of the panel, click a relationship to see how confident Cortex is and where it came from.

What you may see instead of a graph

MessageWhat it means
A grey loading blockThe graph is still loading
Couldn’t load the entity graphLoading failed. Use Retry
No entities yet"Entities appear here as Cortex extracts them from memories."
No entities match the active filtersTurn on a type, or lower the minimum mentions
Relationships failed to load; edges are missingDots loaded but lines did not. Use Retry