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

commonMain.com.xebia.functional.openai.generated.model.RunToolCallObject.kt Maven / Gradle / Ivy

The 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.RunToolCallObjectFunction



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

/**
* Tool call objects
*
    * @param id The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the [Submit tool outputs to run](/docs/api-reference/runs/submitToolOutputs) endpoint.
    * @param type The type of tool call the output is required for. For now, this is always `function`.
    * @param function 
*/
@Serializable


data class RunToolCallObject (
        /* The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the [Submit tool outputs to run](/docs/api-reference/runs/submitToolOutputs) endpoint. */
    @SerialName(value = "id") val id: kotlin.String,
        /* The type of tool call the output is required for. For now, this is always `function`. */
    @SerialName(value = "type") val type: RunToolCallObject.Type,
        @SerialName(value = "function") val function: RunToolCallObjectFunction
) {

            /**
            * The type of tool call the output is required for. For now, this is always `function`.
            *
            * Values: function
            */
            @Serializable
            enum class Type(val value: kotlin.String) {
                @SerialName(value = "function") function("function");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy