SchemaAdherence

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.

Constructors

Link copied to clipboard
constructor(entities: Boolean = true, predicates: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val entities: Boolean = true
Link copied to clipboard
val predicates: Boolean = false