Jaa


EmbeddingGeneratorBuilder<TInput,TEmbedding>(IServiceProvider) Constructor

Definition

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

public EmbeddingGeneratorBuilder (IServiceProvider? services = default);
new Microsoft.Extensions.AI.EmbeddingGeneratorBuilder<'Input, 'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)> : IServiceProvider -> Microsoft.Extensions.AI.EmbeddingGeneratorBuilder<'Input, 'Embedding (requires 'Embedding :> Microsoft.Extensions.AI.Embedding)>
Public Sub New (Optional services As IServiceProvider = Nothing)

Parameters

services
IServiceProvider

The service provider to use for dependency injection.

Applies to