Skip to main content
All docs
V24.2

IAIChat Methods

Defines methods that set up AI chat Assistants.
Name Description
LoadMessages(IEnumerable<BlazorChatMessage>) Loads messages to the chat history.
SaveMessages() Saves messages from the chat history.
SendMessage(String, ChatRole) Sends a message to the chat.
SetupAssistantAsync(AIAssistantOptions) Creates and sets up an OpenAI Assistant for the chat.
SetupAssistantAsync(String, AIAssistantOptions) Creates and sets up an OpenAI Assistant for the chat.
See Also