toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.audio
/
Segment
Segment
@
Serializable
data
class
Segment
(
val
id
:
Int
,
val
seek
:
Int
,
val
start
:
Double
,
val
end
:
Double
,
val
text
:
String
,
val
tokens
:
List
<
Int
>
,
val
temperature
:
Double
,
val
avgLogprob
:
Double
,
val
compressionRatio
:
Double
,
val
noSpeechProb
:
Double
,
val
transient
:
Boolean
?
=
null
)
Members
Constructors
Segment
Link copied to clipboard
constructor
(
id
:
Int
,
seek
:
Int
,
start
:
Double
,
end
:
Double
,
text
:
String
,
tokens
:
List
<
Int
>
,
temperature
:
Double
,
avgLogprob
:
Double
,
compressionRatio
:
Double
,
noSpeechProb
:
Double
,
transient
:
Boolean
?
=
null
)
Properties
avg
Logprob
Link copied to clipboard
@
SerialName
(
value
=
"avg_logprob"
)
val
avgLogprob
:
Double
compression
Ratio
Link copied to clipboard
@
SerialName
(
value
=
"compression_ratio"
)
val
compressionRatio
:
Double
end
Link copied to clipboard
@
SerialName
(
value
=
"end"
)
val
end
:
Double
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
val
id
:
Int
no
Speech
Prob
Link copied to clipboard
@
SerialName
(
value
=
"no_speech_prob"
)
val
noSpeechProb
:
Double
seek
Link copied to clipboard
@
SerialName
(
value
=
"seek"
)
val
seek
:
Int
start
Link copied to clipboard
@
SerialName
(
value
=
"start"
)
val
start
:
Double
temperature
Link copied to clipboard
@
SerialName
(
value
=
"temperature"
)
val
temperature
:
Double
text
Link copied to clipboard
@
SerialName
(
value
=
"text"
)
val
text
:
String
tokens
Link copied to clipboard
@
SerialName
(
value
=
"tokens"
)
val
tokens
:
List
<
Int
>
transient
Link copied to clipboard
@
SerialName
(
value
=
"transient"
)
val
transient
:
Boolean
?
=
null