Skip to content

Interface: ExtractImageResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ImageExtraction / ExtractImageResponse

Interface: ExtractImageResponse

Defined in: src/types/image-extraction.ts:85

Response from vision-based image extraction.

Properties

entities

entities: ImageExtractedEntityDto[]

Defined in: src/types/image-extraction.ts:87

Extracted entities (visual elements identified in the image).


error?

optional error: string | null

Defined in: src/types/image-extraction.ts:89

Error message if extraction failed.


relations

relations: ImageExtractedRelationDto[]

Defined in: src/types/image-extraction.ts:91

Extracted relations (connections/arrows between entities).


stats

stats: ImageExtractionStatsDto

Defined in: src/types/image-extraction.ts:93

Extraction statistics.


success

success: boolean

Defined in: src/types/image-extraction.ts:95

Whether the extraction was successful.


suggestedSorts

suggestedSorts: ImageSuggestedSortDto[]

Defined in: src/types/image-extraction.ts:97

Suggested sorts (new types discovered in the image).


termIds

termIds: string[]

Defined in: src/types/image-extraction.ts:99

IDs of persisted PsiTerms (empty if persist=false).