com.theokanning.openai.audio.TranslationResult Maven / Gradle / Ivy
package com.theokanning.openai.audio;
import lombok.Data;
import java.util.List;
/**
* An object with the English transcription
*
* https://platform.openai.com/docs/api-reference/audio/create
*/
@Data
public class TranslationResult {
/**
* Translated text.
*/
String text;
/**
* Task name
* @apiNote verbose_json response format only
*/
String task;
/**
* Translated language
* @apiNote verbose_json response format only
*/
String language;
/**
* Speech duration
* @apiNote verbose_json response format only
*/
Double duration;
/**
* List of segments
* @apiNote verbose_json response format only
*/
List segments;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy