EmbeddingGenerationDispatcher.Create<TEmbedding> Method
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.
Creates a new EmbeddingGenerationDispatcher for the given TEmbedding type.
public:
generic <typename TEmbedding>
where TEmbedding : Microsoft::Extensions::AI::Embedding static Microsoft::Extensions::VectorData::ProviderServices::EmbeddingGenerationDispatcher ^ Create();
public static Microsoft.Extensions.VectorData.ProviderServices.EmbeddingGenerationDispatcher Create<TEmbedding>() where TEmbedding : Microsoft.Extensions.AI.Embedding;
static member Create : unit -> Microsoft.Extensions.VectorData.ProviderServices.EmbeddingGenerationDispatcher (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)
Public Shared Function Create(Of TEmbedding As Embedding) () As EmbeddingGenerationDispatcher
Type Parameters
- TEmbedding
The embedding type.
Returns
A new EmbeddingGenerationDispatcher instance.