Extension methods for configuring AIChatService in the dependency injection container.
Object
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public static class AIChatServiceExtensionsAdds the AIChatService to the service collection with the specified configuration.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAIChatService(Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<AIChatServiceOptions> configureOptions)
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The service collection. |
| Action<AIChatServiceOptions> | configureOptions | The action to configure the AIChatService options. |
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | The updated service collection. |
Adds the AIChatService to the service collection with the specified configuration.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAIChatService(Microsoft.Extensions.DependencyInjection.IServiceCollection services)
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The service collection. |
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | The updated service collection. |