Skip to content

Interface: ExtractionStrategySchemaGuided

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Ingestion / ExtractionStrategySchemaGuided

Interface: ExtractionStrategySchemaGuided

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

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

Remarks

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

Properties

escalateUnknownTypes

escalateUnknownTypes: boolean

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

Whether to escalate to LLM for unknown entity types.


nerConfidenceThreshold

nerConfidenceThreshold: number

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

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


relationConfidenceThreshold

relationConfidenceThreshold: number

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

Relation pattern confidence threshold (0.0–1.0).


type

type: "schema_guided"

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