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

commonMain.com.xebia.functional.openai.generated.model.ChatCompletionRequestSystemMessage.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 com.xebia.functional.openai.generated.model.ChatCompletionRequestSystemMessageContent



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

/**
* 
*
    * @param content 
    * @param role The role of the messages author, in this case `system`.
    * @param name An optional name for the participant. Provides the model information to differentiate between participants of the same role.
*/
@Serializable


data class ChatCompletionRequestSystemMessage (
        @SerialName(value = "content") val content: ChatCompletionRequestSystemMessageContent,
        /* The role of the messages author, in this case `system`. */
    @SerialName(value = "role") val role: ChatCompletionRequestSystemMessage.Role,
        /* An optional name for the participant. Provides the model information to differentiate between participants of the same role. */
    @SerialName(value = "name") val name: kotlin.String? = null
) {

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy