Skip to content

Type Alias: RelationTypeDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RAG / RelationTypeDto

Type Alias: RelationTypeDto

RelationTypeDto = { type: "Explicit"; } | { type: "Emergent"; unifiedFeatures: string[]; }

Defined in: src/types/rag.ts:42

Relation type for a related concept.

Type Declaration

{ type: "Explicit"; }

type

type: "Explicit"

Discriminator: explicit relation.

{ type: "Emergent"; unifiedFeatures: string[]; }

type

type: "Emergent"

Discriminator: emergent relation.

unifiedFeatures

unifiedFeatures: string[]

Features that were unified to discover this relation.

Remarks

Discriminated union by type field:

  • "Explicit" — explicit feature relation.
  • "Emergent" — discovered via fuzzy feature unification.