Skip to content

Interface: ExtractionStrategySchemaGuided

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ExtractionStrategySchemaGuided

Defined in: src/types/ingestion.ts:305

Schema-guided extraction strategy — NER + pattern-based, LLM only when needed.

Wire format: {"type": "schema_guided", "ner_confidence_threshold": 0.7, "relation_confidence_threshold": 0.6, "escalate_unknown_types": true}

escalateUnknownTypes: boolean

Defined in: src/types/ingestion.ts:312

Whether to escalate to LLM for unknown entity types.


nerConfidenceThreshold: number

Defined in: src/types/ingestion.ts:308

NER confidence threshold below which to escalate to LLM (0.0–1.0).


relationConfidenceThreshold: number

Defined in: src/types/ingestion.ts:310

Relation pattern confidence threshold (0.0–1.0).


type: "schema_guided"

Defined in: src/types/ingestion.ts:306