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