Share via


ChatMessageReference Class

Definition

Represents a ChatMessageContent for serialization without metadata.

public sealed class ChatMessageReference
type ChatMessageReference = class
Public NotInheritable Class ChatMessageReference
Inheritance
ChatMessageReference

Constructors

ChatMessageReference(ChatMessageContent)

Represents a ChatMessageContent for serialization without metadata.

Properties

AuthorName

Gets the referenced AuthorName property.

Items

Gets the referenced Items collection.

MimeType

Gets the referenced MimeType property.

ModelId

Gets the referenced ModelId property.

Role

Gets the referenced Role property.

Methods

Prepare(IEnumerable<ChatMessageContent>)

Converts a set of messages to ChatMessageReference instances.

Applies to