Freigeben über


ChatClientBuilder(IServiceProvider) Constructor

Definition

Initializes a new instance of the ChatClientBuilder class.

public ChatClientBuilder (IServiceProvider? services = default);
new Microsoft.Extensions.AI.ChatClientBuilder : IServiceProvider -> Microsoft.Extensions.AI.ChatClientBuilder
Public Sub New (Optional services As IServiceProvider = Nothing)

Parameters

services
IServiceProvider

The service provider to use for dependency injection.

Applies to