New to Telerik UI for Blazor? Start a free 30-day trial

Groups the services that DatAInsightsComposerAIService depends on. Registered in DI by AddTelerikBlazorDatAInsightsComposer(). Custom services that derive from DatAInsightsComposerAIService should accept this type in their constructor and pass it to base(dependencies), so new dependencies can be added in the future without changing the constructor signature of the derived service.

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public sealed class DatAInsightsComposerAIServiceDependencies

Inheritance: objectDatAInsightsComposerAIServiceDependencies

Constructors

Creates the dependencies for DatAInsightsComposerAIService.

C#
public DatAInsightsComposerAIServiceDependencies(ITelerikStringLocalizer localizer, IChatClient? chatClient = null)
Parameters:localizerITelerikStringLocalizer

The localizer used to resolve the user-facing messages.

chatClientIChatClient

The chat client used for in-process AI requests. Can be null when the service sends requests to a custom backend.

Properties

ChatClient

IChatClient

The chat client used for in-process AI requests, or null if none is registered.

C#
public IChatClient? ChatClient { get; }

The localizer used to resolve the user-facing messages.

C#
public ITelerikStringLocalizer Localizer { get; }