Share via


ChatCompletionResponseFormatType Struct

Definition

Specifies how the LLM should format the response. Possible values: 'text' (plain string), 'json_object' (arbitrary JSON), or 'json_schema' (adheres to provided schema).

public readonly struct ChatCompletionResponseFormatType : IEquatable<Azure.Search.Documents.Models.ChatCompletionResponseFormatType>
type ChatCompletionResponseFormatType = struct
Public Structure ChatCompletionResponseFormatType
Implements IEquatable(Of ChatCompletionResponseFormatType)
Inheritance
ChatCompletionResponseFormatType
Implements

Constructors

ChatCompletionResponseFormatType(String)

Initializes a new instance of ChatCompletionResponseFormatType.

Properties

JsonObject

jsonObject.

JsonSchema

jsonSchema.

Text

text.

Methods

Equals(ChatCompletionResponseFormatType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ChatCompletionResponseFormatType, ChatCompletionResponseFormatType)

Determines if two ChatCompletionResponseFormatType values are the same.

Implicit(String to ChatCompletionResponseFormatType)

Converts a String to a ChatCompletionResponseFormatType.

Inequality(ChatCompletionResponseFormatType, ChatCompletionResponseFormatType)

Determines if two ChatCompletionResponseFormatType values are not the same.

Applies to