Skip to main content
Version: latest

agrag.ingestion.client_work.matches.store_unverified_matches

store_unverified_matches(graph_store:GraphStore, pairs:Sequence[UnverifiedPair], *, pending_job_id:str | None = None, reopen_uncertain:bool = False) -> int

Write undecided pairs for clients, without resetting checked pairs.

Parameters:

  • graph_store (GraphStore) – Store holding the two entities of each pair.
  • pairs (Sequence[UnverifiedPair]) – Undecided pairs to store.
  • pending_job_id (str | None) – In-flight job id when the write runs inside a job.
  • reopen_uncertain (bool) – Reopen checked uncertain pairs during explicit review.

Returns:

  • int – The number of pairs submitted.