Skip to content

Interface: OsfSearchRelationDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OsfSearchRelationDto

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

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

confidence: number

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

Confidence score in [0, 1].


discoveryMethod: string

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

How the relation was discovered.


relationType: string

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

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


sourceId: string

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

Term id of the source entity.


targetId: string

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

Term id of the target entity.