Class TextResponseFormatConfiguration
- Namespace
- OpenAI
- Assembly
- OpenAI-DotNet.dll
public sealed class TextResponseFormatConfiguration
- Inheritance
-
TextResponseFormatConfiguration
- Inherited Members
-
Constructors
TextResponseFormatConfiguration(ChatResponseFormat)
[Obsolete("Use new overload with TextResponseFormat instead")]
public TextResponseFormatConfiguration(ChatResponseFormat type)
Parameters
type
ChatResponseFormat
TextResponseFormatConfiguration(JsonSchema)
public TextResponseFormatConfiguration(JsonSchema schema)
Parameters
schema
JsonSchema
TextResponseFormatConfiguration(TextResponseFormat)
public TextResponseFormatConfiguration(TextResponseFormat type)
Parameters
type
TextResponseFormat
Properties
JsonSchema
public JsonSchema JsonSchema { get; }
Property Value
- JsonSchema
Type
public TextResponseFormat Type { get; }
Property Value
- TextResponseFormat
Operators
implicit operator TextResponseFormatConfiguration(ChatResponseFormat)
[Obsolete("Use new overload with TextResponseFormat instead")]
public static implicit operator TextResponseFormatConfiguration(ChatResponseFormat type)
Parameters
type
ChatResponseFormat
Returns
- TextResponseFormatConfiguration
implicit operator TextResponseFormatConfiguration(TextResponseFormat)
public static implicit operator TextResponseFormatConfiguration(TextResponseFormat type)
Parameters
type
TextResponseFormat
Returns
- TextResponseFormatConfiguration
implicit operator ChatResponseFormat(TextResponseFormatConfiguration)
[Obsolete("Use new overload with TextResponseFormat instead")]
public static implicit operator ChatResponseFormat(TextResponseFormatConfiguration format)
Parameters
format
TextResponseFormatConfiguration
Returns
- ChatResponseFormat
implicit operator TextResponseFormat(TextResponseFormatConfiguration)
public static implicit operator TextResponseFormat(TextResponseFormatConfiguration format)
Parameters
format
TextResponseFormatConfiguration
Returns
- TextResponseFormat