Class TextResponseFormat
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Format of text output.
public class TextResponseFormat
- Inheritance
-
TextResponseFormat
- Inherited Members
- Extension Methods
Properties
JsonSchema
JSON Schema the output must follow when MimeType is application/json.
[JsonPropertyName("jsonSchema")]
public JsonNode? JsonSchema { get; set; }
Property Value
MimeType
MIME type of the text, for example application/json.
[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }