API Reference
Interface
ITreatmentChatClient
Chat client abstraction used by treatment providers.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Methods
public abstract Task<TreatmentChatResponse> SendAsync(ChatInput input, ChatOptions options, CancellationToken cancellationToken = null) #Returns:
Task<TreatmentChatResponse>Sends a chat treatment prompt to the backing provider.
Parameters
- input IntelligenceX.OpenAI.Chat.ChatInput
- options IntelligenceX.OpenAI.Chat.ChatOptions
- cancellationToken System.Threading.CancellationToken = null