commonMain.com.xebia.functional.openai.generated.model.AutoChunkingStrategy.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
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 kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* The default strategy. This strategy currently uses a `max_chunk_size_tokens` of `800` and `chunk_overlap_tokens` of `400`.
*
* @param type Always `auto`.
*/
@Serializable
data class AutoChunkingStrategy (
/* Always `auto`. */
@SerialName(value = "type") val type: AutoChunkingStrategy.Type
) {
/**
* Always `auto`.
*
* Values: auto
*/
@Serializable
enum class Type(val value: kotlin.String) {
@SerialName(value = "auto") auto("auto");
}
}