你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BetaMemoryStoresOperations interface

表示 BetaMemoryStorage作的接口。

属性

create

创建内存存储。

delete

删除内存存储。

deleteScope

从内存存储中删除与特定作用域关联的所有内存。

get

检索内存存储。

getUpdateResult

获取内存存储更新结果。

list

列出所有内存存储。

searchMemories

根据对话上下文从内存存储中搜索相关记忆。

update

更新内存存储。

updateMemories

使用对话记忆更新内存存储。

属性详细信息

create

创建内存存储。

create: (name: string, definition: MemoryStoreDefinitionUnion, options?: BetaMemoryStoresCreateOptionalParams) => Promise<MemoryStore>

属性值

(name: string, definition: MemoryStoreDefinitionUnion, options?: BetaMemoryStoresCreateOptionalParams) => Promise<MemoryStore>

delete

删除内存存储。

delete: (name: string, options?: BetaMemoryStoresDeleteOptionalParams) => Promise<DeleteMemoryStoreResponse>

属性值

(name: string, options?: BetaMemoryStoresDeleteOptionalParams) => Promise<DeleteMemoryStoreResponse>

deleteScope

从内存存储中删除与特定作用域关联的所有内存。

deleteScope: (name: string, scope: string, options?: BetaMemoryStoresDeleteScopeOptionalParams) => Promise<MemoryStoreDeleteScopeResponse>

属性值

(name: string, scope: string, options?: BetaMemoryStoresDeleteScopeOptionalParams) => Promise<MemoryStoreDeleteScopeResponse>

get

检索内存存储。

get: (name: string, options?: BetaMemoryStoresGetOptionalParams) => Promise<MemoryStore>

属性值

(name: string, options?: BetaMemoryStoresGetOptionalParams) => Promise<MemoryStore>

getUpdateResult

获取内存存储更新结果。

getUpdateResult: (name: string, updateId: string, options?: BetaMemoryStoresGetUpdateResultOptionalParams) => Promise<MemoryStoreUpdateResponse>

属性值

(name: string, updateId: string, options?: BetaMemoryStoresGetUpdateResultOptionalParams) => Promise<MemoryStoreUpdateResponse>

list

列出所有内存存储。

list: (options?: BetaMemoryStoresListOptionalParams) => PagedAsyncIterableIterator<MemoryStore, MemoryStore[], PageSettings>

属性值

(options?: BetaMemoryStoresListOptionalParams) => PagedAsyncIterableIterator<MemoryStore, MemoryStore[], PageSettings>

searchMemories

根据对话上下文从内存存储中搜索相关记忆。

searchMemories: (name: string, scope: string, options?: BetaMemoryStoresSearchMemoriesOptionalParams) => Promise<MemoryStoreSearchResponse>

属性值

(name: string, scope: string, options?: BetaMemoryStoresSearchMemoriesOptionalParams) => Promise<MemoryStoreSearchResponse>

update

更新内存存储。

update: (name: string, options?: BetaMemoryStoresUpdateOptionalParams) => Promise<MemoryStore>

属性值

(name: string, options?: BetaMemoryStoresUpdateOptionalParams) => Promise<MemoryStore>

updateMemories

使用对话记忆更新内存存储。

updateMemories: (name: string, scope: string, options?: BetaMemoryStoresUpdateMemoriesOptionalParams) => PollerLike<OperationState<MemoryStoreUpdateCompletedResult>, MemoryStoreUpdateCompletedResult>

属性值

(name: string, scope: string, options?: BetaMemoryStoresUpdateMemoriesOptionalParams) => PollerLike<OperationState<MemoryStoreUpdateCompletedResult>, MemoryStoreUpdateCompletedResult>