IAIWebClient

IAIWebClient interface

AI Web client interface. This interface enables to substitute different AI language models. Classes that implement this interface are supposed to be used along with SlidesAIAgent.

public interface IAIWebClient

Methods

NameDescription
CallChatAsync(string)Sends a chat instruction to the AI model using a provided HttpClient instance and return response message to the given instruction.
CreateConversation()Creates a conversation instance. Unlike regular AI calls, conversations retain the entire context.

See Also