commonMain.com.xebia.functional.openai.generated.model.ChatCompletionStreamResponseDeltaFunctionCall.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 kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
*
* @param arguments The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
* @param name The name of the function to call.
*/
@Serializable
@Deprecated(message = "This schema is deprecated.")
data class ChatCompletionStreamResponseDeltaFunctionCall (
/* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function. */
@SerialName(value = "arguments") val arguments: kotlin.String? = null,
/* The name of the function to call. */
@SerialName(value = "name") val name: kotlin.String? = null
) {
}