Version: latest
agrag.ingestion.client_work.descriptions.apply_description_summary
apply_description_summary(graph_store:GraphStore, *, item_id:str, content_version:str, output:object, embedder:Embedder, vector_sync:VectorSync | None = None) -> ItemOutcome
Apply a summary against its exact sources, then re-embed the entity.
Parameters:
- graph_store (
GraphStore) – Store holding the entity. - item_id (
str) – Entity id. - content_version (
str) – Version the client saw when it listed the item. - output (
object) – The client's result, validated here before any write. - embedder (
Embedder) – Local embedder used for the refreshed embedding text. - vector_sync (
VectorSync | None) – Mirrors the applied summary into the external vector store when set.
Returns:
ItemOutcome– The durable outcome for this item.