New to Telerik UI for WPFStart a free 30-day trial

Represents a message containing AI-generated content for use in conversational UI.

Definition

Constructors

Initializes a new instance of the AIMessage class.

C#
public AIMessage(Author author, DateTime creationDate = default)
Parameters:authorAuthor

The author of the message.

creationDateDateTime

The date and time the message was created. If not specified, the default value is used.

Properties

Gets or sets the answer or content generated by the AI agent.

C#
public string AIAnswer { get; set; }

Gets or sets the name of the AI agent that generated the message.

C#
public string AIName { get; set; }

Gets the InlineViewModel associated with this message, used for inline display in the chat UI.

C#
public InlineViewModel InlineViewModel { get; }

Implements: IInlineMessage.InlineViewModel