@elizaos/core v1.0.0-beta.7 / Relationship
Interface: Relationship
Represents a relationship between users
Properties
id
id: `${string}-${string}-${string}-${string}-${string}`
Unique identifier
Defined in
packages/core/src/types.ts:381
sourceEntityId
sourceEntityId: `${string}-${string}-${string}-${string}-${string}`
First user ID
Defined in
packages/core/src/types.ts:384
targetEntityId
targetEntityId: `${string}-${string}-${string}-${string}-${string}`
Second user ID
Defined in
packages/core/src/types.ts:387
agentId
agentId: `${string}-${string}-${string}-${string}-${string}`
Agent ID
Defined in
packages/core/src/types.ts:390
tags
tags:
string
[]
Tags for filtering/categorizing relationships
Defined in
packages/core/src/types.ts:393
metadata
metadata:
object
Additional metadata about the relationship
Index Signature
[key
: string
]: any
Defined in
packages/core/src/types.ts:396
createdAt?
optional
createdAt:string
Optional creation timestamp