com.launchableinc.openai.audio.TranscriptionSegment 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 com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;
/**
* An object represents transcription segment
*
* https://platform.openai.com/docs/api-reference/audio/create
*/
@Data
public class TranscriptionSegment {
Integer id;
Integer seek;
Double start;
Double end;
String text;
List tokens;
Double temperature;
@JsonProperty("avg_logprob")
Double averageLogProb;
@JsonProperty("compression_ratio")
Double compressionRatio;
@JsonProperty("no_speech_prob")
Double noSpeechProb;
@JsonProperty("transient")
Boolean transientFlag;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy