ChatMessage.FromSystem

ChatMessage.FromSystem method

Creates a new ChatMessage object representing a system message.

public static ChatMessage FromSystem(string content)
ParameterTypeDescription
contentStringThe contents of the message.

Return Value

A new ChatMessage object with the specified content and the System role.

See Also