Schema Adherence
data class SchemaAdherence constructor(val entities: Boolean = true, val predicates: Boolean = false)
Configuration for how strictly extraction should adhere to the schema.
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.