BetaMemoryStoresOperations interface
BetaMemoryStores操作を表すインターフェース。
プロパティ
| create | 提供された構成でメモリストアリソースを作成します。 |
| create |
指定されたメモリストア内にメモリ項目を作成します。 |
| delete | 指定されたメモリストアを削除します。 |
| delete |
指定されたメモリ項目をメモリストアから削除します。 |
| delete |
指定されたメモリストア内の、提供されたスコープに関連するすべてのメモリを削除します。 |
| get | 指定されたメモリストアとその現在の構成を取得します。 |
| get |
指定されたメモリ項目をメモリストアから取得します。 |
| get |
メモリストア更新操作のステータスと結果を取得します。 |
| list | 呼び出し元に利用可能なメモリを返します。 |
| list |
指定されたメモリストアからメモリ項目を返します。 |
| search |
指定された記憶庫から、提供された会話の文脈に関連する記憶を検索します。 |
| update | 指定されたメモリストレージに提供された構成変更を更新します。 |
| update |
指定されたメモリストアに会話の記憶を書き込む更新を開始します。 この操作は、更新結果のポーリングのための長期実行ステータス場所を返します。 |
| update |
メモリストア内の指定されたメモリ項目を更新します。 |
プロパティの詳細
create
提供された構成でメモリストアリソースを作成します。
create: (name: string, definition: MemoryStoreDefinitionUnion, options?: BetaMemoryStoresCreateOptionalParams) => Promise<MemoryStore>
プロパティ値
(name: string, definition: MemoryStoreDefinitionUnion, options?: BetaMemoryStoresCreateOptionalParams) => Promise<MemoryStore>
createMemory
指定されたメモリストア内にメモリ項目を作成します。
createMemory: (name: string, scope: string, content: string, kind: MemoryItemKind, options?: BetaMemoryStoresCreateMemoryOptionalParams) => Promise<MemoryItemUnion>
プロパティ値
(name: string, scope: string, content: string, kind: MemoryItemKind, options?: BetaMemoryStoresCreateMemoryOptionalParams) => Promise<MemoryItemUnion>
delete
指定されたメモリストアを削除します。
delete: (name: string, options?: BetaMemoryStoresDeleteOptionalParams) => Promise<DeleteMemoryStoreResponse>
プロパティ値
(name: string, options?: BetaMemoryStoresDeleteOptionalParams) => Promise<DeleteMemoryStoreResponse>
deleteMemory
指定されたメモリ項目をメモリストアから削除します。
deleteMemory: (name: string, memoryId: string, options?: BetaMemoryStoresDeleteMemoryOptionalParams) => Promise<DeleteMemoryResponse>
プロパティ値
(name: string, memoryId: string, options?: BetaMemoryStoresDeleteMemoryOptionalParams) => Promise<DeleteMemoryResponse>
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>
getMemory
指定されたメモリ項目をメモリストアから取得します。
getMemory: (name: string, memoryId: string, options?: BetaMemoryStoresGetMemoryOptionalParams) => Promise<MemoryItemUnion>
プロパティ値
(name: string, memoryId: string, options?: BetaMemoryStoresGetMemoryOptionalParams) => Promise<MemoryItemUnion>
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>
listMemories
指定されたメモリストアからメモリ項目を返します。
listMemories: (name: string, scope: string, options?: BetaMemoryStoresListMemoriesOptionalParams) => PagedAsyncIterableIterator<MemoryItemUnion, MemoryItemUnion[], PageSettings>
プロパティ値
(name: string, scope: string, options?: BetaMemoryStoresListMemoriesOptionalParams) => PagedAsyncIterableIterator<MemoryItemUnion, MemoryItemUnion[], 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>
updateMemory
メモリストア内の指定されたメモリ項目を更新します。
updateMemory: (name: string, memoryId: string, content: string, options?: BetaMemoryStoresUpdateMemoryOptionalParams) => Promise<MemoryItemUnion>
プロパティ値
(name: string, memoryId: string, content: string, options?: BetaMemoryStoresUpdateMemoryOptionalParams) => Promise<MemoryItemUnion>