commonMain.com.xebia.functional.openai.generated.model.RunStepDeltaStepDetailsToolCallsCodeObject.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-jvm Show documentation
Show all versions of xef-openai-client-jvm 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.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* Details of the Code Interpreter tool call the run step was involved in.
*
* @param index The index of the tool call in the tool calls array.
* @param type The type of tool call. This is always going to be `code_interpreter` for this type of tool call.
* @param id The ID of the tool call.
* @param codeInterpreter
*/
@Serializable
data class RunStepDeltaStepDetailsToolCallsCodeObject (
/* The index of the tool call in the tool calls array. */
@SerialName(value = "index") val index: kotlin.Int,
/* The type of tool call. This is always going to be `code_interpreter` for this type of tool call. */
@SerialName(value = "type") val type: RunStepDeltaStepDetailsToolCallsCodeObject.Type,
/* The ID of the tool call. */
@SerialName(value = "id") val id: kotlin.String? = null,
@SerialName(value = "code_interpreter") val codeInterpreter: RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? = null
) {
/**
* The type of tool call. This is always going to be `code_interpreter` for this type of tool call.
*
* Values: code_interpreter
*/
@Serializable
enum class Type(val value: kotlin.String) {
@SerialName(value = "code_interpreter") code_interpreter("code_interpreter");
}
}