All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.xebia.functional.openai.generated.model.ChatCompletionRequestMessageContentPartImageImageUrl.kt Maven / Gradle / Ivy

The newest version!
/**
 *
 * Please note:
 * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * Do not edit this file manually.
 *
 */

@file:Suppress(
    "ArrayInDataClass",
    "EnumEntryName",
    "RemoveRedundantQualifierName",
    "UnusedImport"
)

package com.xebia.functional.openai.generated.model




import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*

/**
* 
*
    * @param url Either a URL of the image or the base64 encoded image data.
    * @param detail Specifies the detail level of the image. Learn more in the [Vision guide](/docs/guides/vision/low-or-high-fidelity-image-understanding).
*/
@Serializable


data class ChatCompletionRequestMessageContentPartImageImageUrl (
        /* Either a URL of the image or the base64 encoded image data. */
    @SerialName(value = "url") val url: kotlin.String,
        /* Specifies the detail level of the image. Learn more in the [Vision guide](/docs/guides/vision/low-or-high-fidelity-image-understanding). */
    @SerialName(value = "detail") val detail: ChatCompletionRequestMessageContentPartImageImageUrl.Detail? = Detail.auto
) {

            /**
            * Specifies the detail level of the image. Learn more in the [Vision guide](/docs/guides/vision/low-or-high-fidelity-image-understanding).
            *
            * Values: auto,low,high
            */
            @Serializable
            enum class Detail(val value: kotlin.String) {
                @SerialName(value = "auto") auto("auto"),
                @SerialName(value = "low") low("low"),
                @SerialName(value = "high") high("high");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy