API Reference
Class
IntelligenceXClientTreatmentChatClient
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 virtual async Task<TreatmentChatResponse> SendAsync(ChatInput input, ChatOptions options, CancellationToken cancellationToken = null) #Returns:
Task<TreatmentChatResponse>Parameters
- input IntelligenceX.OpenAI.Chat.ChatInput
- options IntelligenceX.OpenAI.Chat.ChatOptions
- cancellationToken System.Threading.CancellationToken = null