Skip to main content
Version: 0.0.9

agrag.ingestion.client_work.extraction.extraction_output_schema

extraction_output_schema(schema:GraphSchema) -> dict[str, object]

Build the JSON schema for one client extraction result.

Properties appear only when an entity type declares them, and relations appear only when the schema declares relation types. Proposal fields let a client report grounded new types for later review.