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>