Implemented interface member:
method
GenerateAsync
Microsoft.Extensions.AI.IEmbeddingGenerator<TInput, TEmbedding>.GenerateAsync(System.Collections.Generic.IEnumerable<TInput>, Microsoft.Extensions.AI.EmbeddingGenerationOptions, System.Threading.CancellationToken)
5 overrides of GenerateAsync
Microsoft.Extensions.AI (5)
Embeddings\AnonymousDelegatingEmbeddingGenerator.cs (1)
37public override async Task<GeneratedEmbeddings<TEmbedding>> GenerateAsync(
Embeddings\CachingEmbeddingGenerator.cs (1)
28public override async Task<GeneratedEmbeddings<TEmbedding>> GenerateAsync(
Embeddings\ConfigureOptionsEmbeddingGenerator.cs (1)
44public override async Task<GeneratedEmbeddings<TEmbedding>> GenerateAsync(
Embeddings\LoggingEmbeddingGenerator.cs (1)
49public override async Task<GeneratedEmbeddings<TEmbedding>> GenerateAsync(IEnumerable<TInput> values, EmbeddingGenerationOptions? options = null, CancellationToken cancellationToken = default)
Embeddings\OpenTelemetryEmbeddingGenerator.cs (1)
81public override async Task<GeneratedEmbeddings<TEmbedding>> GenerateAsync(IEnumerable<TInput> values, EmbeddingGenerationOptions? options = null, CancellationToken cancellationToken = default)
5 references to GenerateAsync
Microsoft.Extensions.AI (5)
Embeddings\CachingEmbeddingGenerator.cs (2)
51var generated = await base.GenerateAsync(valuesList, options, cancellationToken).ConfigureAwait(false); 90var uncachedResults = await base.GenerateAsync(uncached.Select(e => e.Input), options, cancellationToken).ConfigureAwait(false);
Embeddings\ConfigureOptionsEmbeddingGenerator.cs (1)
49return await base.GenerateAsync(values, Configure(options), cancellationToken).ConfigureAwait(false);
Embeddings\LoggingEmbeddingGenerator.cs (1)
65var embeddings = await base.GenerateAsync(values, options, cancellationToken).ConfigureAwait(false);
Embeddings\OpenTelemetryEmbeddingGenerator.cs (1)
93response = await base.GenerateAsync(values, options, cancellationToken).ConfigureAwait(false);