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

commonMain.com.xebia.functional.openai.generated.model.CreateEmbeddingResponse.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 com.xebia.functional.openai.generated.model.CreateEmbeddingResponseUsage
import com.xebia.functional.openai.generated.model.Embedding



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

/**
* 
*
    * @param `data` The list of embeddings generated by the model.
    * @param model The name of the model used to generate the embedding.
    * @param `object` The object type, which is always \"list\".
    * @param usage 
*/
@Serializable


data class CreateEmbeddingResponse (
        /* The list of embeddings generated by the model. */
    @SerialName(value = "data") val `data`: kotlin.collections.List,
        /* The name of the model used to generate the embedding. */
    @SerialName(value = "model") val model: kotlin.String,
        /* The object type, which is always \"list\". */
    @SerialName(value = "object") val `object`: CreateEmbeddingResponse.`Object`,
        @SerialName(value = "usage") val usage: CreateEmbeddingResponseUsage
) {

            /**
            * The object type, which is always \"list\".
            *
            * Values: list
            */
            @Serializable
            enum class `Object`(val value: kotlin.String) {
                @SerialName(value = "list") list("list");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy