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
/
SourcePart
Source
Part
@
Serializable
@
SerialName
(
value
=
"source"
)
data
class
SourcePart
(
val
id
:
String
,
val
url
:
String
,
val
title
:
String
=
url
)
:
Part
(
source
)
A cited source (URL and title), shown by the UI Sources element and inline citations.
Members
Constructors
Source
Part
Link copied to clipboard
constructor
(
id
:
String
,
url
:
String
,
title
:
String
=
url
)
Properties
id
Link copied to clipboard
open
override
val
id
:
String
is
Streaming
Link copied to clipboard
open
val
isStreaming
:
Boolean
title
Link copied to clipboard
val
title
:
String
url
Link copied to clipboard
val
url
:
String