Relationship
@daydreamsai/core / Relationship
Interface: Relationship
Defined in: packages/core/src/memory/types.ts:308
Properties
from
from:
string
Defined in: packages/core/src/memory/types.ts:310
id
id:
string
Defined in: packages/core/src/memory/types.ts:309
properties?
optionalproperties:Record<string,unknown>
Defined in: packages/core/src/memory/types.ts:313
semantics?
optionalsemantics:object
Defined in: packages/core/src/memory/types.ts:316
Semantic metadata for this relationship
confidence?
optionalconfidence:number
Confidence in this relationship (0-1)
context?
optionalcontext:string
Context where this relationship applies
inferred?
optionalinferred:boolean
Whether this relationship was inferred vs explicit
inverseVerb?
optionalinverseVerb:string
Inverse verb (e.g., "works_for" inverse is "employs")
strength?
optionalstrength:number
Relationship strength (0-1) - can override top-level strength
temporal?
optionaltemporal:object
Temporal information
temporal.duration?
optionalduration:number
temporal.end?
optionalend:Date
temporal.start?
optionalstart:Date
verb
verb:
string
Human-readable verb describing the relationship
strength?
optionalstrength:number
Defined in: packages/core/src/memory/types.ts:314
to
to:
string
Defined in: packages/core/src/memory/types.ts:311
type
type:
string
Defined in: packages/core/src/memory/types.ts:312