IntelligenceX

API Reference

Interface

ITreatmentChatClient

Namespace IntelligenceX.Treatment
Assembly IntelligenceX
Modifiers abstract

Chat client abstraction used by treatment providers.

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Methods

public abstract Task<TreatmentChatResponse> SendAsync(ChatInput input, ChatOptions options, CancellationToken cancellationToken = default) #
Returns: Task<TreatmentChatResponse>

Sends a chat treatment prompt to the backing provider.

Parameters

input IntelligenceX.OpenAI.Chat.ChatInput requiredposition: 0
options IntelligenceX.OpenAI.Chat.ChatOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2