DeclarativeWorkflowBuilder.DefaultTransform(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transforms the input message into a ChatMessage based on ToString(). Also performs pass-through for ChatMessage input.
public static Microsoft.Extensions.AI.ChatMessage DefaultTransform(object message);
static member DefaultTransform : obj -> Microsoft.Extensions.AI.ChatMessage
Public Shared Function DefaultTransform (message As Object) As ChatMessage
Parameters
- message
- Object
The input message to transform.
Returns
The transformed message (as ChatMessage