MemoryRecord Constructor

Definition

[System.Text.Json.Serialization.JsonConstructor]
public MemoryRecord (Microsoft.SemanticKernel.Memory.MemoryRecordMetadata metadata, ReadOnlyMemory<float> embedding, string? key, DateTimeOffset? timestamp = default);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.SemanticKernel.Memory.MemoryRecord : Microsoft.SemanticKernel.Memory.MemoryRecordMetadata * ReadOnlyMemory<single> * string * Nullable<DateTimeOffset> -> Microsoft.SemanticKernel.Memory.MemoryRecord
Public Sub New (metadata As MemoryRecordMetadata, embedding As ReadOnlyMemory(Of Single), key As String, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing)

Parameters

embedding
ReadOnlyMemory<Single>
key
String
Attributes

Applies to