Skip to main content

persistentMemory

@codebolt/codeboltjs


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

NameTypeDescriptionDefined in
create()(config: CreatePersistentMemoryParams) => Promise<PersistentMemoryResponse>Create a new persistent memory configurationpackages/codeboltjs/src/modules/persistentMemory.ts:25
delete()(memoryId: string) => Promise<PersistentMemoryResponse>Delete a persistent memorypackages/codeboltjs/src/modules/persistentMemory.ts:86
executeRetrieval()(memoryId: string, intent: PipelineExecutionIntent) => Promise<PersistentMemoryExecuteResponse>Execute memory retrieval pipelinepackages/codeboltjs/src/modules/persistentMemory.ts:102
get()(memoryId: string) => Promise<PersistentMemoryResponse>Get a persistent memory by IDpackages/codeboltjs/src/modules/persistentMemory.ts:40
getStepSpecs()() => Promise<PersistentMemoryStepSpecsResponse>Get available step specificationspackages/codeboltjs/src/modules/persistentMemory.ts:131
list()(filters?: ListPersistentMemoryParams) => Promise<PersistentMemoryListResponse>List persistent memoriespackages/codeboltjs/src/modules/persistentMemory.ts:55
update()(memoryId: string, updates: UpdatePersistentMemoryParams) => Promise<PersistentMemoryResponse>Update a persistent memorypackages/codeboltjs/src/modules/persistentMemory.ts:71
validate()(memory: CreatePersistentMemoryParams) => Promise<PersistentMemoryValidateResponse>Validate a memory configurationpackages/codeboltjs/src/modules/persistentMemory.ts:117