commonMain.com.xebia.functional.openai.UploadFile.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!
package com.xebia.functional.openai
import io.ktor.http.*
import io.ktor.utils.io.core.*
data class UploadFile(
val filename: String,
val contentType: ContentType? = null,
val size: Long? = null,
val bodyBuilder: BytePacketBuilder.() -> Unit
)