LoggingEmbeddingGenerator<TInput,TEmbedding> Constructor

Definition

public:
 LoggingEmbeddingGenerator(Microsoft::Extensions::AI::IEmbeddingGenerator<TInput, TEmbedding> ^ innerGenerator, Microsoft::Extensions::Logging::ILogger ^ logger);
public LoggingEmbeddingGenerator (Microsoft.Extensions.AI.IEmbeddingGenerator<TInput,TEmbedding> innerGenerator, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.Extensions.AI.LoggingEmbeddingGenerator<'Input, 'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)> : Microsoft.Extensions.AI.IEmbeddingGenerator<'Input, 'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)> * Microsoft.Extensions.Logging.ILogger -> Microsoft.Extensions.AI.LoggingEmbeddingGenerator<'Input, 'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)>
Public Sub New (innerGenerator As IEmbeddingGenerator(Of TInput, TEmbedding), logger As ILogger)

Parameters

logger
ILogger

Applies to