Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class AIChatServiceExtensions

    Extension methods for configuring AIChatService in the dependency injection container.

    Inheritance
    object
    AIChatServiceExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Radzen
    Assembly: Radzen.Blazor.dll
    Syntax
    public static class AIChatServiceExtensions

    Methods

    AddAIChatService(IServiceCollection)

    Adds the AIChatService to the service collection with default options.

    Declaration
    public static IServiceCollection AddAIChatService(this IServiceCollection services)
    Parameters
    Type Name Description
    IServiceCollection services

    The service collection.

    Returns
    Type Description
    IServiceCollection

    The updated service collection.

    AddAIChatService(IServiceCollection, Action<AIChatServiceOptions>)

    Adds the AIChatService to the service collection with the specified configuration.

    Declaration
    public static IServiceCollection AddAIChatService(this IServiceCollection services, Action<AIChatServiceOptions> configureOptions)
    Parameters
    Type Name Description
    IServiceCollection services

    The service collection.

    Action<AIChatServiceOptions> configureOptions

    The action to configure the AIChatService options.

    Returns
    Type Description
    IServiceCollection

    The updated service collection.

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT