ProjectsOpenAIModelFactory.MemoryItem 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.
A single memory item stored in the memory store, containing content and metadata. Please note this is the abstract base class. The derived classes available for instantiation are: ChatSummaryMemoryItem.
public static Azure.AI.Projects.OpenAI.MemoryItem MemoryItem(string memoryId = default, DateTimeOffset updatedAt = default, string scope = default, string content = default, string kind = default);
static member MemoryItem : string * DateTimeOffset * string * string * string -> Azure.AI.Projects.OpenAI.MemoryItem
Public Shared Function MemoryItem (Optional memoryId As String = Nothing, Optional updatedAt As DateTimeOffset = Nothing, Optional scope As String = Nothing, Optional content As String = Nothing, Optional kind As String = Nothing) As MemoryItem
Parameters
- memoryId
- String
The unique ID of the memory item.
- updatedAt
- DateTimeOffset
The last update time of the memory item.
- scope
- String
The namespace that logically groups and isolates memories, such as a user ID.
- content
- String
The content of the memory.
- kind
- String
The kind of the memory item.
Returns
A new MemoryItem instance for mocking.