BetaMemoryStoresOperations interface
Interface representing a BetaMemoryStores operations.
Properties
| create | Create a memory store. |
| delete | Delete a memory store. |
| delete |
Delete all memories associated with a specific scope from a memory store. |
| get | Retrieve a memory store. |
| get |
Get memory store update result. |
| list | List all memory stores. |
| search |
Search for relevant memories from a memory store based on conversation context. |
| update | Update a memory store. |
| update |
Update memory store with conversation memories. |
Property Details
create
Create a memory store.
create: (name: string, definition: MemoryStoreDefinitionUnion, options?: BetaMemoryStoresCreateOptionalParams) => Promise<MemoryStore>
Property Value
(name: string, definition: MemoryStoreDefinitionUnion, options?: BetaMemoryStoresCreateOptionalParams) => Promise<MemoryStore>
delete
Delete a memory store.
delete: (name: string, options?: BetaMemoryStoresDeleteOptionalParams) => Promise<DeleteMemoryStoreResponse>
Property Value
(name: string, options?: BetaMemoryStoresDeleteOptionalParams) => Promise<DeleteMemoryStoreResponse>
deleteScope
Delete all memories associated with a specific scope from a memory store.
deleteScope: (name: string, scope: string, options?: BetaMemoryStoresDeleteScopeOptionalParams) => Promise<MemoryStoreDeleteScopeResponse>
Property Value
(name: string, scope: string, options?: BetaMemoryStoresDeleteScopeOptionalParams) => Promise<MemoryStoreDeleteScopeResponse>
get
Retrieve a memory store.
get: (name: string, options?: BetaMemoryStoresGetOptionalParams) => Promise<MemoryStore>
Property Value
(name: string, options?: BetaMemoryStoresGetOptionalParams) => Promise<MemoryStore>
getUpdateResult
Get memory store update result.
getUpdateResult: (name: string, updateId: string, options?: BetaMemoryStoresGetUpdateResultOptionalParams) => Promise<MemoryStoreUpdateResponse>
Property Value
(name: string, updateId: string, options?: BetaMemoryStoresGetUpdateResultOptionalParams) => Promise<MemoryStoreUpdateResponse>
list
List all memory stores.
list: (options?: BetaMemoryStoresListOptionalParams) => PagedAsyncIterableIterator<MemoryStore, MemoryStore[], PageSettings>
Property Value
(options?: BetaMemoryStoresListOptionalParams) => PagedAsyncIterableIterator<MemoryStore, MemoryStore[], PageSettings>
searchMemories
Search for relevant memories from a memory store based on conversation context.
searchMemories: (name: string, scope: string, options?: BetaMemoryStoresSearchMemoriesOptionalParams) => Promise<MemoryStoreSearchResponse>
Property Value
(name: string, scope: string, options?: BetaMemoryStoresSearchMemoriesOptionalParams) => Promise<MemoryStoreSearchResponse>
update
Update a memory store.
update: (name: string, options?: BetaMemoryStoresUpdateOptionalParams) => Promise<MemoryStore>
Property Value
(name: string, options?: BetaMemoryStoresUpdateOptionalParams) => Promise<MemoryStore>
updateMemories
Update memory store with conversation memories.
updateMemories: (name: string, scope: string, options?: BetaMemoryStoresUpdateMemoriesOptionalParams) => PollerLike<OperationState<MemoryStoreUpdateCompletedResult>, MemoryStoreUpdateCompletedResult>
Property Value
(name: string, scope: string, options?: BetaMemoryStoresUpdateMemoriesOptionalParams) => PollerLike<OperationState<MemoryStoreUpdateCompletedResult>, MemoryStoreUpdateCompletedResult>