Skip to main content
All docs
V26.1
  • IAIChat Members

    Defines methods that set up AI chat Assistants.

    Methods

    Name Description
    AppendMessageAsync(String, ChatRole, List<IAIChatMessageContextItem>) Adds a message to the chat history.
    HideLoadingIndicatorAsync() Hides the loading indicator in the chat message area.
    LoadMessages(IEnumerable<BlazorChatMessage>) Loads messages to the chat history.
    SaveMessages() Saves messages from the chat history.
    SendMessage(String, ChatRole, List<AIChatUploadFileInfo>) Obsolete. Sends a message to the AI service.
    SendMessageAsync(List<AIContent>, CancellationToken) Sends a multimodal message to the AI service.
    SendMessageAsync(String, List<IAIChatMessageContextItem>, CancellationToken) Sends a message to the AI service.
    SetupAssistantAsync(AIAssistantOptions) Obsolete. Creates and sets up an OpenAI Assistant for the chat.
    SetupAssistantAsync(String, AIAssistantOptions) Obsolete. Creates and sets up an OpenAI Assistant for the chat.
    SetupAssistantAsync(String, String) Obsolete. Connects the chat to an existing OpenAI Assistant.
    ShowLoadingIndicatorAsync(String) Displays a loading indicator in the chat message area.
    See Also