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
/
Part
Part
@
Serializable
sealed
interface
Part
(
source
)
One piece of a
Message
: text, reasoning, a tool call, a file, a source or custom data.
Inheritors
TextPart
ReasoningPart
ToolPart
SourcePart
FilePart
DataPart
Members
Properties
id
Link copied to clipboard
abstract
val
id
:
String
is
Streaming
Link copied to clipboard
open
val
isStreaming
:
Boolean