linkMemoryEntitiesOp
linkMemoryEntitiesOp(
ctx:EntityOperationsContext,memoryId:string,entityNames:string[]):Promise<StoredEntity[]>
Defined in: src/lib/db/entities/operations.ts:80
Link a memory to one or more entities. Names are normalized; missing entities are auto-created. Idempotent — duplicate (memory_id, entity_id) pairs are skipped.
Parameters
| Parameter | Type |
|---|---|
|
| |
|
|
|
|
|
|
Returns
Promise<StoredEntity[]>
Last updated on