All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.xebia.functional.openai.generated.model.TranscriptionSegment.kt Maven / Gradle / Ivy

There is a newer version: 0.0.5-alpha.119
Show 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.*

/**
* 
*
    * @param id Unique identifier of the segment.
    * @param seek Seek offset of the segment.
    * @param start Start time of the segment in seconds.
    * @param end End time of the segment in seconds.
    * @param text Text content of the segment.
    * @param tokens Array of token IDs for the text content.
    * @param temperature Temperature parameter used for generating the segment.
    * @param avgLogprob Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.
    * @param compressionRatio Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.
    * @param noSpeechProb Probability of no speech in the segment. If the value is higher than 1.0 and the `avg_logprob` is below -1, consider this segment silent.
*/
@Serializable


data class TranscriptionSegment (
        /* Unique identifier of the segment. */
    @SerialName(value = "id") val id: kotlin.Int,
        /* Seek offset of the segment. */
    @SerialName(value = "seek") val seek: kotlin.Int,
        /* Start time of the segment in seconds. */
    @SerialName(value = "start") val start: kotlin.Float,
        /* End time of the segment in seconds. */
    @SerialName(value = "end") val end: kotlin.Float,
        /* Text content of the segment. */
    @SerialName(value = "text") val text: kotlin.String,
        /* Array of token IDs for the text content. */
    @SerialName(value = "tokens") val tokens: kotlin.collections.List,
        /* Temperature parameter used for generating the segment. */
    @SerialName(value = "temperature") val temperature: kotlin.Float,
        /* Average logprob of the segment. If the value is lower than -1, consider the logprobs failed. */
    @SerialName(value = "avg_logprob") val avgLogprob: kotlin.Float,
        /* Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed. */
    @SerialName(value = "compression_ratio") val compressionRatio: kotlin.Float,
        /* Probability of no speech in the segment. If the value is higher than 1.0 and the `avg_logprob` is below -1, consider this segment silent. */
    @SerialName(value = "no_speech_prob") val noSpeechProb: kotlin.Float
) {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy