Freigeben über


AzureAIProjectsModelFactory.MemoryStore Method

Definition

A memory store that can store and retrieve user memories.

public static Azure.AI.Projects.MemoryStore MemoryStore(string id = default, DateTimeOffset createdAt = default, DateTimeOffset updatedAt = default, string name = default, string description = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Azure.AI.Projects.MemoryStoreDefinition definition = default);
static member MemoryStore : string * DateTimeOffset * DateTimeOffset * string * string * System.Collections.Generic.IDictionary<string, string> * Azure.AI.Projects.MemoryStoreDefinition -> Azure.AI.Projects.MemoryStore
Public Shared Function MemoryStore (Optional id As String = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional updatedAt As DateTimeOffset = Nothing, Optional name As String = Nothing, Optional description As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional definition As MemoryStoreDefinition = Nothing) As MemoryStore

Parameters

id
String

The unique identifier of the memory store.

createdAt
DateTimeOffset

The Unix timestamp (seconds) when the memory store was created.

updatedAt
DateTimeOffset

The Unix timestamp (seconds) when the memory store was last updated.

name
String

The name of the memory store.

description
String

A human-readable description of the memory store.

metadata
IDictionary<String,String>

Arbitrary key-value metadata to associate with the memory store.

definition
MemoryStoreDefinition

The definition of the memory store.

Returns

A new MemoryStore instance for mocking.

Applies to