Class MessageCreateRequest
- Namespace
- OpenAI.
Object Models. Request Models
- Assembly
- AntRunnerLib.dll
- Inheritance
-
System.
Object MessageCreate Request
- Implements
- Inherited Members
-
System.
Object. Equals(System. Object) System.Object. Equals(System. Object, System. Object) System.Object. Get Hash Code() System.Object. Get Type() System.Object. Memberwise Clone() System.Object. Reference Equals(System. Object, System. Object) System.Object. To String()
Constructors
MessageCreateRequest()
MessageCreateRequest(String, MessageContentOneOfType, Nullable<List<Attachment>>, Nullable<Dictionary<String, String>>)
public MessageCreateRequest(string role, MessageContentOneOfType content, List<Attachment>? attachments = null, Dictionary<string, string>? metaData = null)
Parameters
role
System.String content
MessageContent One OfType attachments
System.Nullable <List<Attachment>>metaData
System.Nullable <Dictionary<System.String , System.String >>
Properties
Attachments
A list of files attached to the message, and the tools they should be added to.
Property Value
- System.
Nullable <List<Attachment>>
Content
The content of the message.
Property Value
Metadata
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.
Property Value
- System.
Nullable <Dictionary<System.String , System.String >>
Role
The role of the entity that is creating the message. Currently only user is supported.
Property Value
- System.
String