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

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

There is a newer version: 0.0.5-alpha.118
Show 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 role The role of the messages author, in this case `function`.
    * @param content The contents of the function message.
    * @param name The name of the function to call.
*/
@Serializable
@Deprecated(message = "This schema is deprecated.")

data class ChatCompletionRequestFunctionMessage (
        /* The role of the messages author, in this case `function`. */
    @SerialName(value = "role") val role: ChatCompletionRequestFunctionMessage.Role,
        /* The contents of the function message. */
    @SerialName(value = "content") val content: kotlin.String?,
        /* The name of the function to call. */
    @SerialName(value = "name") val name: kotlin.String
) {

            /**
            * The role of the messages author, in this case `function`.
            *
            * Values: function
            */
            @Serializable
            enum class Role(val value: kotlin.String) {
                @SerialName(value = "function") function("function");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy