commonMain.com.xebia.functional.openai.generated.model.AssistantObjectToolResources.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.AssistantObjectToolResourcesCodeInterpreter
import com.xebia.functional.openai.generated.model.AssistantObjectToolResourcesFileSearch
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.
*
* @param codeInterpreter
* @param fileSearch
*/
@Serializable
data class AssistantObjectToolResources (
@SerialName(value = "code_interpreter") val codeInterpreter: AssistantObjectToolResourcesCodeInterpreter? = null,
@SerialName(value = "file_search") val fileSearch: AssistantObjectToolResourcesFileSearch? = null
) {
}