Κοινή χρήση μέσω


DelegatingEmbeddingGenerator<TInput,TEmbedding> Constructor

Definition

Initializes a new instance of the DelegatingEmbeddingGenerator<TInput,TEmbedding> class.

protected:
 DelegatingEmbeddingGenerator(Microsoft::Extensions::AI::IEmbeddingGenerator<TInput, TEmbedding> ^ innerGenerator);
protected DelegatingEmbeddingGenerator (Microsoft.Extensions.AI.IEmbeddingGenerator<TInput,TEmbedding> innerGenerator);
new Microsoft.Extensions.AI.DelegatingEmbeddingGenerator<'Input, 'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)> : Microsoft.Extensions.AI.IEmbeddingGenerator<'Input, 'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)> -> Microsoft.Extensions.AI.DelegatingEmbeddingGenerator<'Input, 'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)>
Protected Sub New (innerGenerator As IEmbeddingGenerator(Of TInput, TEmbedding))

Parameters

innerGenerator
IEmbeddingGenerator<TInput,TEmbedding>

The wrapped generator instance.

Applies to