Partager via


FunctionResultContent.ToChatMessage Method

Definition

Creates ChatMessageContent and adds the current instance of the class to the Items collection.

public Microsoft.SemanticKernel.ChatMessageContent ToChatMessage ();
member this.ToChatMessage : unit -> Microsoft.SemanticKernel.ChatMessageContent
Public Function ToChatMessage () As ChatMessageContent

Returns

The ChatMessageContent instance.

Applies to