persistentMemory
Variable: persistentMemory
const persistentMemory: {
create: (config: CreatePersistentMemoryParams) => Promise<PersistentMemoryResponse>;
delete: (memoryId: string) => Promise<PersistentMemoryResponse>;
executeRetrieval: (memoryId: string, intent: PipelineExecutionIntent) => Promise<PersistentMemoryExecuteResponse>;
get: (memoryId: string) => Promise<PersistentMemoryResponse>;
getStepSpecs: () => Promise<PersistentMemoryStepSpecsResponse>;
list: (filters?: ListPersistentMemoryParams) => Promise<PersistentMemoryListResponse>;
update: (memoryId: string, updates: UpdatePersistentMemoryParams) => Promise<PersistentMemoryResponse>;
validate: (memory: CreatePersistentMemoryParams) => Promise<PersistentMemoryValidateResponse>;
};
Defined in: packages/codeboltjs/src/modules/persistentMemory.ts:20
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
create() | (config: CreatePersistentMemoryParams) => Promise<PersistentMemoryResponse> | Create a new persistent memory configuration | packages/codeboltjs/src/modules/persistentMemory.ts:25 |
delete() | (memoryId: string) => Promise<PersistentMemoryResponse> | Delete a persistent memory | packages/codeboltjs/src/modules/persistentMemory.ts:86 |
executeRetrieval() | (memoryId: string, intent: PipelineExecutionIntent) => Promise<PersistentMemoryExecuteResponse> | Execute memory retrieval pipeline | packages/codeboltjs/src/modules/persistentMemory.ts:102 |
get() | (memoryId: string) => Promise<PersistentMemoryResponse> | Get a persistent memory by ID | packages/codeboltjs/src/modules/persistentMemory.ts:40 |
getStepSpecs() | () => Promise<PersistentMemoryStepSpecsResponse> | Get available step specifications | packages/codeboltjs/src/modules/persistentMemory.ts:131 |
list() | (filters?: ListPersistentMemoryParams) => Promise<PersistentMemoryListResponse> | List persistent memories | packages/codeboltjs/src/modules/persistentMemory.ts:55 |
update() | (memoryId: string, updates: UpdatePersistentMemoryParams) => Promise<PersistentMemoryResponse> | Update a persistent memory | packages/codeboltjs/src/modules/persistentMemory.ts:71 |
validate() | (memory: CreatePersistentMemoryParams) => Promise<PersistentMemoryValidateResponse> | Validate a memory configuration | packages/codeboltjs/src/modules/persistentMemory.ts:117 |