Skip to main content
Version: latest

agrag.ingestion.resolved_entities.deactivate_match_and_rebuild

deactivate_match_and_rebuild(match_id:UUID, *, graph_store:GraphStore, schema:GraphSchema, tracer:Tracer | None = None, vector_sync:VectorSync | None = None, block_source:BlockSource | None = None, llm_enabled:bool = True, pending_pair_id:str | None = None, pending_reasoning:str = '', pending_check:Callable[[GraphStoreTransaction], Awaitable[None]] | None = None) -> DeactivationResult

Deactivate a match and rebuild the components it separated.

When block_source is set, the two endpoints also get a keep apart block in the same transaction, so later adds and re-evaluations cannot restore the match. Re-evaluation leaves block_source unset. llm_enabled controls whether rebuilt descriptions may use a model.