ChatMessageReference.Prepare(IEnumerable<ChatMessageContent>) 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.
Converts a set of messages to ChatMessageReference instances.
public static System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.Agents.Serialization.ChatMessageReference> Prepare(System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.ChatMessageContent> messages);
static member Prepare : seq<Microsoft.SemanticKernel.ChatMessageContent> -> seq<Microsoft.SemanticKernel.Agents.Serialization.ChatMessageReference>
Public Shared Function Prepare (messages As IEnumerable(Of ChatMessageContent)) As IEnumerable(Of ChatMessageReference)
Parameters
- messages
- IEnumerable<ChatMessageContent>