Class ResponseFormat
- Namespace
- OpenAI.
Object Models. Request Models
- Assembly
- AntRunnerLib.dll
An object specifying the format that the model must output. Used to enable JSON mode.
- Inheritance
-
System.
Object ResponseFormat
- 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
Type
Setting to json_object enables JSON mode. This guarantees that the message the model generates is valid JSON. Note that the message content may be partial if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
Property Value
- System.
String