AzureAIProjectsModelFactory.MemoryOperation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a single memory operation (create, update, or delete) performed on a memory item.
public static Azure.AI.Projects.MemoryOperation MemoryOperation(Azure.AI.Projects.MemoryOperationKind kind = default, Azure.AI.Projects.MemoryItem memoryItem = default);
static member MemoryOperation : Azure.AI.Projects.MemoryOperationKind * Azure.AI.Projects.MemoryItem -> Azure.AI.Projects.MemoryOperation
Public Shared Function MemoryOperation (Optional kind As MemoryOperationKind = Nothing, Optional memoryItem As MemoryItem = Nothing) As MemoryOperation
Parameters
- kind
- MemoryOperationKind
The type of memory operation being performed.
- memoryItem
- MemoryItem
The memory item to create, update, or delete.
Returns
A new MemoryOperation instance for mocking.