Back to Devexpress

IAIChat Methods

blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-dot-iaichat-dot-underscore-methods.md

latest1.8 KB
Original Source

IAIChat Methods

Defines methods that set up AI chat Assistants.

NameDescription
LoadMessages(IEnumerable<BlazorChatMessage>)Loads messages to the chat history.
SaveMessages()Saves messages from the chat history.
SendMessage(String, ChatRole, List<AIChatUploadFileInfo>)Sends a message to the chat.
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)Connects the chat to an existing OpenAI Assistant.

See Also

IAIChat Interface

IAIChat Members

DevExpress.AIIntegration.Blazor.Chat Namespace