alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface IChatInferenceService

    Represent the chat inference service.

    Namespace: Syncfusion.Maui.SmartComponents
    Assembly: Syncfusion.Maui.SmartComponents.dll
    Syntax
    public interface IChatInferenceService

    Methods

    GenerateResponseAsync(List<ChatMessage>)

    Asynchronously generates a chat response based on the provided parameters.

    Declaration
    Task<string> GenerateResponseAsync(List<ChatMessage> chatMessages)
    Parameters
    Type Name Description
    List<ChatMessage> chatMessages

    The parameters that define the chat messages.

    Returns
    Type Description
    Task<string>

    A task that represents the asynchronous operation, containing the AI-generated response as a string.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved