eagerEmbedContent
eagerEmbedContent(
content:string,embeddingOptions:MemoryEngineEmbeddingOptions,cache:VaultEmbeddingCache,vaultCtx?:VaultMemoryOperationsContext,memoryId?:string,updatedAt?:Date):Promise<void>
Defined in: src/lib/memoryVault/searchTool.ts:1298
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 | Description |
|---|---|---|
|
|
|
‐ |
|
|
‐ | |
|
|
‐ | |
|
|
‐ | |
|
|
|
‐ |
|
|
|
|
Returns
Promise<void>
Last updated on