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:
public sealed class DatAInsightsComposerAIServiceDependencies
Inheritance: objectDatAInsightsComposerAIServiceDependencies
Constructors
Creates the dependencies for DatAInsightsComposerAIService.
public DatAInsightsComposerAIServiceDependencies(ITelerikStringLocalizer localizer, IChatClient? chatClient = null)
The localizer used to resolve the user-facing messages.
chatClientIChatClientThe 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.
public IChatClient? ChatClient { get; }
The localizer used to resolve the user-facing messages.
public ITelerikStringLocalizer Localizer { get; }