EntityExtractionResult

Result of entity extraction and resolution. Provides access to entities that need to be persisted.

Inheritors

Properties

Link copied to clipboard

Statistics about entity extraction outcomes

Functions

Link copied to clipboard
open fun entitiesToPersist(): List<<Error class: unknown class>>

All entities that need to be persisted (new + updated). Does not include reference-only entities.

Link copied to clipboard
abstract fun newEntities(): List<<Error class: unknown class>>

Entities that are new (not matched to any existing entity). These should be saved to the entity repository.

Link copied to clipboard
open fun referenceOnlyEntities(): List<<Error class: unknown class>>

Entities that were matched to known entities that should not be updated. These are typically entities managed by external services (e.g., the current user). They are referenced in propositions but not persisted during extraction.

Link copied to clipboard
abstract fun updatedEntities(): List<<Error class: unknown class>>

Entities that were matched to existing entities and may have updated information. These should be updated in the entity repository.