Skip to main content

agrag.ingestion.resolve.resolution

Resolve mentions and persisted entities against the graph.

Ingestion, consolidation, and re-evaluation call the functions here. Each builds its candidates and neighbor context, runs one Resolver pass, and returns the result.

Classes:

Functions:

  • find_exact_matches – Return each mention index's matching persisted Entity, if it has one.
  • resolve_among – Resolve a fixed set of persisted entities by comparing same-label pairs.
  • resolve_batch – Resolve one extraction batch against itself and the persisted graph.
  • resolve_persisted – Resolve persisted entities against each other.

Attributes: