Back to Devexpress

BlazorChatMessage Members

blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-dot-blazorchatmessage-dot-underscore-members.md

latest3.6 KB
Original Source

BlazorChatMessage Members

Defines an individual chat message.

Constructors

NameDescription
BlazorChatMessage(ChatRole, String, List<AIChatUploadFileInfo>)Initializes a new instance of the BlazorChatMessage class with specified settings.

Properties

NameDescription
ContentReturns the message content.
ContextsReturns a collection of AI resources and files attached to the chat message.
FilesReturns a collection of uploaded files.
FunctionCallsReturns information on all functions invoked by the AI model.
RoleReturns the role of the message owner.
TypingIdentifies whether the message is being generated by the AI assistant or it is complete.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

BlazorChatMessage Class

DevExpress.AIIntegration.Blazor.Chat Namespace