مشاركة عبر


BetaMemoryStoresOperations interface

واجهة تمثل عمليات BetaMemoryStores.

الخصائص

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>