Share via


GeneratedEmbeddings<TEmbedding> Constructors

Definition

Overloads

GeneratedEmbeddings<TEmbedding>()
GeneratedEmbeddings<TEmbedding>(IEnumerable<TEmbedding>)
GeneratedEmbeddings<TEmbedding>(Int32)

GeneratedEmbeddings<TEmbedding>()

public:
 GeneratedEmbeddings();
public GeneratedEmbeddings ();
Public Sub New ()

Applies to

GeneratedEmbeddings<TEmbedding>(IEnumerable<TEmbedding>)

public:
 GeneratedEmbeddings(System::Collections::Generic::IEnumerable<TEmbedding> ^ embeddings);
public GeneratedEmbeddings (System.Collections.Generic.IEnumerable<TEmbedding> embeddings);
new Microsoft.Extensions.AI.GeneratedEmbeddings<'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)> : seq<'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)> -> Microsoft.Extensions.AI.GeneratedEmbeddings<'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)>
Public Sub New (embeddings As IEnumerable(Of TEmbedding))

Parameters

embeddings
IEnumerable<TEmbedding>

Applies to

GeneratedEmbeddings<TEmbedding>(Int32)

public:
 GeneratedEmbeddings(int capacity);
public GeneratedEmbeddings (int capacity);
new Microsoft.Extensions.AI.GeneratedEmbeddings<'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)> : int -> Microsoft.Extensions.AI.GeneratedEmbeddings<'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)>
Public Sub New (capacity As Integer)

Parameters

capacity
Int32

Applies to