Class Message
Info
A chat completion message generated by the model.
public class Message
Inheritance
Inherited Members
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Constructors
Message()
public Message()
Properties
Content
The contents of the message.
[JsonProperty("content")]
public string Content { get; set; }
Property Value
Role
Sets or gets the role of the author of this message.
[JsonProperty("role")]
[JsonConverter(typeof(StringEnumConverter), new object[] { true })]
public Role Role { get; set; }
Property Value
Namespace: Documentize Assembly: Documentize.dll