Class Message
- Namespace
- Uralstech.UAI.Abstraction
A message in the conversation.
public record Message
- Inheritance
-
objectMessage
- Extension Methods
Constructors
Message(Role, string)
public Message(Role role, string content)
Parameters
role
RoleThe role of the creator of the message.
content
stringThe content of the message.
Fields
Content
The content of the message.
public readonly string Content
Field Value
- string
Role
The role of the creator of the message.
public readonly Role Role
Field Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.