Partager via


KustoMemoryRecord Constructors

Definition

Overloads

KustoMemoryRecord(MemoryRecord)

Initializes a new instance of the KustoMemoryRecord class.

KustoMemoryRecord(String, MemoryRecordMetadata, ReadOnlyMemory<Single>, Nullable<DateTimeOffset>)

Initializes a new instance of the KustoMemoryRecord class.

KustoMemoryRecord(String, String, String, String)

Initializes a new instance of the KustoMemoryRecord class.

KustoMemoryRecord(MemoryRecord)

Initializes a new instance of the KustoMemoryRecord class.

public KustoMemoryRecord (Microsoft.SemanticKernel.Memory.MemoryRecord record);
new Microsoft.SemanticKernel.Connectors.Kusto.KustoMemoryRecord : Microsoft.SemanticKernel.Memory.MemoryRecord -> Microsoft.SemanticKernel.Connectors.Kusto.KustoMemoryRecord
Public Sub New (record As MemoryRecord)

Parameters

record
MemoryRecord

Instance of MemoryRecord.

Applies to

KustoMemoryRecord(String, MemoryRecordMetadata, ReadOnlyMemory<Single>, Nullable<DateTimeOffset>)

Initializes a new instance of the KustoMemoryRecord class.

public KustoMemoryRecord (string key, Microsoft.SemanticKernel.Memory.MemoryRecordMetadata metadata, ReadOnlyMemory<float> embedding, DateTimeOffset? timestamp = default);
new Microsoft.SemanticKernel.Connectors.Kusto.KustoMemoryRecord : string * Microsoft.SemanticKernel.Memory.MemoryRecordMetadata * ReadOnlyMemory<single> * Nullable<DateTimeOffset> -> Microsoft.SemanticKernel.Connectors.Kusto.KustoMemoryRecord
Public Sub New (key As String, metadata As MemoryRecordMetadata, embedding As ReadOnlyMemory(Of Single), Optional timestamp As Nullable(Of DateTimeOffset) = Nothing)

Parameters

key
String

Entity key.

metadata
MemoryRecordMetadata

Attributes associated with memory entity.

embedding
ReadOnlyMemory<Single>

Source content embedding.

timestamp
Nullable<DateTimeOffset>

Optional timestamp.

Applies to

KustoMemoryRecord(String, String, String, String)

Initializes a new instance of the KustoMemoryRecord class.

public KustoMemoryRecord (string key, string metadata, string? embedding, string? timestamp = default);
new Microsoft.SemanticKernel.Connectors.Kusto.KustoMemoryRecord : string * string * string * string -> Microsoft.SemanticKernel.Connectors.Kusto.KustoMemoryRecord
Public Sub New (key As String, metadata As String, embedding As String, Optional timestamp As String = Nothing)

Parameters

key
String

Entity key.

metadata
String

Serialized metadata associated with memory entity.

embedding
String

Source content embedding.

timestamp
String

Optional timestamp.

Applies to