VectorMemory
@daydreamsai/core / VectorMemory
Interface: VectorMemory
Defined in: packages/core/src/memory/types.ts:359
Vector Memory interface
Methods
delete()
delete(
ids):Promise<void>
Defined in: packages/core/src/memory/types.ts:362
Parameters
ids
string[]
Returns
Promise<void>
index()
index(
documents):Promise<void>
Defined in: packages/core/src/memory/types.ts:360
Parameters
documents
Returns
Promise<void>
search()
search(
query):Promise<VectorResult[]>
Defined in: packages/core/src/memory/types.ts:361
Parameters
query
Returns
Promise<VectorResult[]>