SchemaAdherence

constructor(entities: Boolean = true, predicates: Boolean = false)

Parameters

entities

If true, only extract entities with types defined in the schema. If false, prefer schema types but allow important entities outside the schema.

predicates

If true, only extract propositions with predicates defined in the schema's relationship metadata. If false, allow any predicates.