eagerEmbedContent
eagerEmbedContent(
content:string,embeddingOptions:MemoryEngineEmbeddingOptions,cache:VaultEmbeddingCache,vaultCtx?:VaultMemoryOperationsContext,memoryId?:string):Promise<void>
Defined in: src/lib/memoryVault/searchTool.ts:269Â
Eagerly embed a single piece of content and store it in the cache. Call this when a vault memory is created or updated.
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
| |
|
| |
|
| |
|
|
|
Returns
Promise<void>
Last updated on