Class MessageContent
- Namespace
- OpenAI.
Object Models. Request Models
- Assembly
- AntRunnerLib.dll
The content of a message.
- Inheritance
-
System.
Object MessageContent
- 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()
Properties
Text
If the value of Type property is "text" then Text property must contain the message content text
Property Value
- System.
String
Type
The value of Type property must be one of "text", "image_url" note: Currently openAI doesn't support images in the first system message.
Property Value
- System.
String
Methods
TextContent(String)
Static helper method to create MessageContent Text The text content
Parameters
text
System.String