Click or drag to resize

ChatSessionMessage Class

One message in a persisted chat session.
Inheritance Hierarchy
SystemObject
  Seal.ModelChatSessionMessage

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.0.0+c1250b26c169a4ba4d702dc7579506e87ba2cd3a
Syntax
C#
public class ChatSessionMessage

The ChatSessionMessage type exposes the following members.

Constructors
 NameDescription
Public methodChatSessionMessageInitializes a new instance of the ChatSessionMessage class
Top
Properties
 NameDescription
Public propertyContentPlain-text content of the message.
Public propertyToolCallIdTool call id – only set for ToolChatMessage entries.
Public propertyToolCalls Tool calls requested by the agent. Only non-null for AssistantChatMessage entries where the AI invoked one or more tools.
Public propertyTypeType discriminator: SystemChatMessage | UserChatMessage | AssistantChatMessage | ToolChatMessage
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also