EntityResults

Result of processing multiple chunks through the entity pipeline.

Aggregates results across all chunks and provides deduplicated entity lists.

Parameters

chunkResults

Results from individual chunk processing

Constructors

Link copied to clipboard
constructor(chunkResults: List<ChunkEntityResult>)

Properties

Link copied to clipboard
Link copied to clipboard

Statistics about entity extraction outcomes

Link copied to clipboard

Total number of resolved entities (deduplicated)

Link copied to clipboard

Total number of suggested entities across all chunks

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
open fun infoString(verbose: Boolean?, indent: Int): String
Link copied to clipboard
open override 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
fun persist(entityRepository: <Error class: unknown class>)

Persist all entities to the repository and create structural relationships.

Link copied to clipboard
open override 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
fun resolvedEntities(): List<<Error class: unknown class>>

All resolved entities across all chunks (deduplicated).

Link copied to clipboard
open override 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.