com.launchableinc.openai.audio.TranslationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Basic java objects for the OpenAI GPT APIs
package com.launchableinc.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 - 2024 Weber Informatics LLC | Privacy Policy