
commonMain.com.xebia.functional.openai.generated.model.AssistantsApiResponseFormat.kt Maven / Gradle / Ivy
/**
*
* 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.*
/**
* An object describing the expected output of the model. If `json_object` only `function` type `tools` are allowed to be passed to the Run. If `text` the model can return text or any value needed.
*
* @param type Must be one of `text` or `json_object`.
*/
@Serializable
data class AssistantsApiResponseFormat (
/* Must be one of `text` or `json_object`. */
@SerialName(value = "type") val type: AssistantsApiResponseFormat.Type? = Type.text
) {
/**
* Must be one of `text` or `json_object`.
*
* Values: text,json_object
*/
@Serializable
enum class Type(val value: kotlin.String) {
@SerialName(value = "text") text("text"),
@SerialName(value = "json_object") json_object("json_object");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy