commonMain.com.xebia.functional.openai.generated.model.RunStepDeltaStepDetailsToolCallsObject.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.RunStepDeltaStepDetailsToolCallsObjectToolCallsInner
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* Details of the tool call.
*
* @param type Always `tool_calls`.
* @param toolCalls An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `file_search`, or `function`.
*/
@Serializable
data class RunStepDeltaStepDetailsToolCallsObject (
/* Always `tool_calls`. */
@SerialName(value = "type") val type: RunStepDeltaStepDetailsToolCallsObject.Type,
/* An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `file_search`, or `function`. */
@SerialName(value = "tool_calls") val toolCalls: kotlin.collections.List? = null
) {
/**
* Always `tool_calls`.
*
* Values: tool_calls
*/
@Serializable
enum class Type(val value: kotlin.String) {
@SerialName(value = "tool_calls") tool_calls("tool_calls");
}
}