GeneratedEmbeddings<TEmbedding> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.