Skip to content

Interface: ExtractEntitiesResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ExtractEntitiesResponse

Defined in: src/types/extract.ts:92

Response from entity extraction.

entities: ExtractedEntityDto[]

Defined in: src/types/extract.ts:94

Extracted entities with their sort labels and text spans.


labelsUsed: string[]

Defined in: src/types/extract.ts:96

The labels that were used for extraction (sort names).


model: string

Defined in: src/types/extract.ts:98

Model used for extraction (e.g., “gliner2-large-v2.5”).


processingTimeMs: number

Defined in: src/types/extract.ts:100

Processing time in milliseconds.


optional workerProposal?: WorkerProposal

Defined in: src/types/extract.ts:105

The worker’s advisory proposal. Present only when the request carried worker and the engine has an extraction worker configured.