commonMain.com.xebia.functional.openai.generated.model.CreateTranscriptionResponseVerboseJson.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.TranscriptionSegment
import com.xebia.functional.openai.generated.model.TranscriptionWord
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* Represents a verbose json transcription response returned by model, based on the provided input.
*
* @param language The language of the input audio.
* @param duration The duration of the input audio.
* @param text The transcribed text.
* @param words Extracted words and their corresponding timestamps.
* @param segments Segments of the transcribed text and their corresponding details.
*/
@Serializable
data class CreateTranscriptionResponseVerboseJson (
/* The language of the input audio. */
@SerialName(value = "language") val language: kotlin.String,
/* The duration of the input audio. */
@SerialName(value = "duration") val duration: kotlin.String,
/* The transcribed text. */
@SerialName(value = "text") val text: kotlin.String,
/* Extracted words and their corresponding timestamps. */
@SerialName(value = "words") val words: kotlin.collections.List? = null,
/* Segments of the transcribed text and their corresponding details. */
@SerialName(value = "segments") val segments: kotlin.collections.List? = null
) {
}