commonMain.com.xebia.functional.openai.generated.model.FinetuneChatRequestInput.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xef-openai-client Show documentation
Show all versions of xef-openai-client Show documentation
Building applications with LLMs through composability in Kotlin
/**
*
* 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.ChatCompletionFunctions
import com.xebia.functional.openai.generated.model.ChatCompletionTool
import com.xebia.functional.openai.generated.model.FinetuneChatRequestInputMessagesInner
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* The per-line training example of a fine-tuning input file for chat models
*
* @param messages
* @param tools A list of tools the model may generate JSON inputs for.
* @param parallelToolCalls Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use.
* @param functions A list of functions the model may generate JSON inputs for.
*/
@Serializable
data class FinetuneChatRequestInput (
@SerialName(value = "messages") val messages: kotlin.collections.List? = null,
/* A list of tools the model may generate JSON inputs for. */
@SerialName(value = "tools") val tools: kotlin.collections.List? = null,
/* Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use. */
@SerialName(value = "parallel_tool_calls") val parallelToolCalls: kotlin.Boolean? = true,
/* A list of functions the model may generate JSON inputs for. */
@Deprecated(message = "This property is deprecated.")
@SerialName(value = "functions") val functions: kotlin.collections.List? = null
) {
}