Skip to content

Interface: ExtractEntitiesResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ExtractEntitiesResponse

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

Response from entity extraction.

entities: ExtractedEntityDto[]

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

Extracted entities with their sort labels and text spans.


labelsUsed: string[]

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

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


model: string

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

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


processingTimeMs: number

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

Processing time in milliseconds.


optional workerProposal?: WorkerProposal

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

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