Class ChatTransformation<TInput>

Sends each incoming row as JSON to an Microsoft.Extensions.AI.IChatClient and writes the returned object back into the data flow. Typed output requests a JSON schema derived from TOutput; ExpandoObject output uses JSON mode.

Inheritance
DataFlowTransformation<TInput, TInput>
ChatTransformation<TInput, TInput>
ChatTransformation<TInput>
Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
    public class ChatTransformation<TInput> : ChatTransformation<TInput, TInput>, IDataFlowTransformation<TInput, TInput>, IDataFlowSource<TInput>, IDataFlowSource, IDataFlowDestination<TInput>, IDataFlowDestination, IDataFlowComponent, ILoggableTask
Type Parameters
NameDescription
TInput

Type of ingoing data.

Constructors

ChatTransformation()

Declaration
    public ChatTransformation()

ChatTransformation(IChatClient)

Declaration
    public ChatTransformation(IChatClient chatClient)
Parameters
TypeNameDescription
IChatClientchatClient

Implements