AI Elements for Kotlin
Toggle table of contents
Android
Target filter
Android
Switch theme
Search in API
Skip to content
AI Elements for Kotlin
ai-elements-chat
/
dev.ai.elements.core.model
/
ReasoningPart
Reasoning
Part
@
Serializable
@
SerialName
(
value
=
"reasoning"
)
data
class
ReasoningPart
(
val
id
:
String
,
val
text
:
String
,
val
isStreaming
:
Boolean
=
false
,
val
startedAt
:
Long
=
0
,
val
durationMs
:
Long
?
=
null
)
:
Part
(
source
)
The model's reasoning;
durationMs
is how long it thought, once finished.
Members
Constructors
Reasoning
Part
Link copied to clipboard
constructor
(
id
:
String
,
text
:
String
,
isStreaming
:
Boolean
=
false
,
startedAt
:
Long
=
0
,
durationMs
:
Long
?
=
null
)
Properties
duration
Ms
Link copied to clipboard
val
durationMs
:
Long
?
id
Link copied to clipboard
open
override
val
id
:
String
is
Streaming
Link copied to clipboard
open
override
val
isStreaming
:
Boolean
started
At
Link copied to clipboard
val
startedAt
:
Long
text
Link copied to clipboard
val
text
:
String