Class ChatCompletionsJsonSchemaResponseFormat

  • All Implemented Interfaces:
    com.azure.json.JsonSerializable<com.azure.ai.openai.models.ChatCompletionsResponseFormat>

    public class ChatCompletionsJsonSchemaResponseFormat
    extends com.azure.ai.openai.models.ChatCompletionsResponseFormat
    Represents a response format for chat completions that uses a JSON schema.
    • Method Detail

      • getType

        public String getType()
        Overrides:
        getType in class com.azure.ai.openai.models.ChatCompletionsResponseFormat
      • toJson

        public com.azure.json.JsonWriter toJson​(com.azure.json.JsonWriter jsonWriter)
                                         throws IOException
        Specified by:
        toJson in interface com.azure.json.JsonSerializable<com.azure.ai.openai.models.ChatCompletionsResponseFormat>
        Overrides:
        toJson in class com.azure.ai.openai.models.ChatCompletionsResponseFormat
        Throws:
        IOException