Interface ILLMService

    Definition

    Namespace:
    Tizen.AIAvatar
    Assembly:
    Tizen.AIAvatar.dll

    Interface for a Large Language Model (LLM) service.

    public interface ILLMService

    Methods

    View Source

    GenerateTextAsync(string, Dictionary<string, object>)

    Generates a response to the given message asynchronously.

    Declaration
    Task GenerateTextAsync(string message, Dictionary<string, object> options = null)
    Parameters
    Type Name Description
    string message

    The input message to be processed by the LLM.

    Dictionary<, ><string, object> options

    Optional parameters for customizing the LLM output.

    Returns
    Type Description
    Task

    A task representing the asynchronous operation.

    Events

    View Source

    ResponseHandler

    Occurs when a response is generated by the LLM service.

    Declaration
    event EventHandler<llmResponseEventArgs> ResponseHandler
    Event Type
    Type Description
    EventHandler<><llmResponseEventArgs>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX