Class InteractionResponseFormat
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Requested output format (response_format), discriminated by type: text (structured output),
image, audio or video. Formats this SDK does not know are kept as UnknownInteractionResponseFormat.
[JsonConverter(typeof(InteractionResponseFormatConverter))]
public abstract class InteractionResponseFormat
- Inheritance
-
InteractionResponseFormat
- Derived
- Inherited Members
- Extension Methods
Constructors
InteractionResponseFormat(string)
Initializes a new response format with the given discriminator.
protected InteractionResponseFormat(string type)
Parameters
typestringThe
typediscriminator.
Properties
ExtensionData
Fields returned by the API that this SDK does not model yet.
[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }
Property Value
Type
The format type discriminator.
[JsonPropertyName("type")]
public string Type { get; }