Interface: OsfSearchRelationDto
@kortexya/reasoninglayer / OsfSearchRelationDto
Interface: OsfSearchRelationDto
Section titled “Interface: OsfSearchRelationDto”Defined in: src/types/query.ts:108
A relation between two matched entities, discovered by a structured search.
Properties
Section titled “Properties”confidence
Section titled “confidence”confidence:
number
Defined in: src/types/query.ts:116
Confidence score in [0, 1].
discoveryMethod
Section titled “discoveryMethod”discoveryMethod:
string
Defined in: src/types/query.ts:118
How the relation was discovered.
relationType
Section titled “relationType”relationType:
string
Defined in: src/types/query.ts:114
Relation type (e.g. interacts_with, co_occurs_with).
sourceId
Section titled “sourceId”sourceId:
string
Defined in: src/types/query.ts:110
Term id of the source entity.
targetId
Section titled “targetId”targetId:
string
Defined in: src/types/query.ts:112
Term id of the target entity.