Version: latest
agrag.ingestion.client_work.matches.apply_match_verdict
apply_match_verdict(graph_store:GraphStore, *, item_id:str, content_version:str, output:object, schema:GraphSchema, embedder:Embedder, vector_sync:VectorSync | None = None) -> ItemOutcome
Apply one client verdict, preserving any existing keep apart block.
A match goes through the shared match writer, so a pair that would
join blocked groups is still refused. A no_match records a model
block. An uncertain verdict only closes the item.
Parameters:
- graph_store (
GraphStore) – Store holding the pair and its entities. - item_id (
str) – Stored pair id. - content_version (
str) – Version the client saw when it listed the item. - output (
object) – The client's result, validated here before any write. - schema (
GraphSchema) – Active schema, used when rebuilding a resolved entity. - embedder (
Embedder) – Embeds the rebuilt resolved entities after the graph write. - vector_sync (
VectorSync | None) – Synchronizes external vectors and removes replaced vectors.
Returns:
ItemOutcome– The durable outcome for this item.