Jaa


Embedding<T>(ReadOnlyMemory<T>) Constructor

Definition

Initializes a new instance of the Embedding<T> class with the embedding vector.

public:
 Embedding(ReadOnlyMemory<T> vector);
public Embedding (ReadOnlyMemory<T> vector);
new Microsoft.Extensions.AI.Embedding<'T> : ReadOnlyMemory<'T> -> Microsoft.Extensions.AI.Embedding<'T>
Public Sub New (vector As ReadOnlyMemory(Of T))

Parameters

vector
ReadOnlyMemory<T>

The embedding vector this embedding represents.

Applies to