Class ChatTransformation
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 ExpandoObject; ExpandoObject output uses JSON mode.
Inheritance
ChatTransformation
Implements
Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
public class ChatTransformation : ChatTransformation<ExpandoObject, ExpandoObject>, IDataFlowTransformation<ExpandoObject, ExpandoObject>, IDataFlowSource<ExpandoObject>, IDataFlowSource, IDataFlowDestination<ExpandoObject>, IDataFlowDestination, IDataFlowComponent, ILoggableTaskConstructors
ChatTransformation()
Declaration
public ChatTransformation()ChatTransformation(IChatClient)
Declaration
public ChatTransformation(IChatClient chatClient)Parameters
| Type | Name | Description |
|---|---|---|
| IChatClient | chatClient |