Partager via


EmbeddingGeneratorBuilder<TInput,TEmbedding>(IServiceProvider) Constructor

Definition

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

Applies to