Skip to main content
Version: 0.0.10 (stable)

agrag.evidence.run_status.attach_run_statuses

attach_run_statuses(graph_store:GraphStore, summaries:Sequence[DocumentSummary]) -> list[DocumentSummary]

Return the summaries with the run of each document attached.

Parameters:

  • graph_store (GraphStore) – The store that holds the runs.
  • summaries (Sequence[DocumentSummary]) – The document summaries to complete.

Returns:

  • list[DocumentSummary] – One summary per input, in the same order, with run set when the
  • list[DocumentSummary] – document has a run and None otherwise.