IntelligenceX
Class

IntelligenceXClientTreatmentChatClient

IntelligenceX.Treatment

Namespace
IntelligenceX.Treatment
Assembly
IntelligenceX
Modifiers
sealed

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 required

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 required
options IntelligenceX.OpenAI.Chat.ChatOptions required
cancellationToken System.Threading.CancellationToken = default optional