Skip to content

Interface: OsfSearchRelationDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OsfSearchRelationDto

Defined in: src/types/query.ts:108

A relation between two matched entities, discovered by a structured search.

confidence: number

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

Confidence score in [0, 1].


discoveryMethod: string

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

How the relation was discovered.


relationType: string

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

Relation type (e.g. interacts_with, co_occurs_with).


sourceId: string

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

Term id of the source entity.


targetId: string

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

Term id of the target entity.