Class
IntelligenceXClientTreatmentChatClient
IntelligenceX.Treatment
Adapter from IntelligenceXClient chat turns to treatment chat responses.
Inheritance
- object
- IntelligenceXClientTreatmentChatClient
Constructors
public IntelligenceXClientTreatmentChatClient(IntelligenceXClient client) #Initializes a new adapter.
Parameters
- client IntelligenceX.OpenAI.IntelligenceXClient
Methods
public async Task<TreatmentChatResponse> SendAsync(ChatInput input, ChatOptions options, CancellationToken cancellationToken = default) #Sends a chat treatment prompt to the backing provider.
Parameters
- input IntelligenceX.OpenAI.Chat.ChatInput
- options IntelligenceX.OpenAI.Chat.ChatOptions
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<TreatmentChatResponse>