Version: latest
agrag.ingestion.client_work.communities.apply_community_report
apply_community_report(graph_store:GraphStore, *, item_id:str, content_version:str, output:object, embedder:Embedder, schema:GraphSchema, vector_sync:VectorSync | None = None) -> ItemOutcome
Apply one client report and refresh the community embedding.
Parameters:
- graph_store (
GraphStore) – Store holding the community. - item_id (
str) – Community 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 report text. - schema (
GraphSchema) – Active schema, used to rebuild the report's type context. - vector_sync (
VectorSync | None) – Mirrors the applied report into the external vector store when set.
Returns:
ItemOutcome– The durable outcome for this item.