toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-map-gpt
/
com.mapbox.navigation.mapgpt.ui.screen
/
ChatItem
Chat
Item
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
interface
ChatItem
Inheritors
Card
User
AI
Processing
Members
Types
AI
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
AI
(
val
message
:
String
,
val
itemId
:
String
=
UUID.randomUUID().toString()
,
val
isFinished
:
Boolean
=
true
,
val
isTokenMaxed
:
Boolean
=
false
)
:
ChatItem
Card
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
Card
(
val
card
:
SessionFrame.SendEvent.Body.Entity.Data.Card
,
val
uniqueId
:
String
=
UUID.randomUUID().toString()
)
:
ChatItem
Processing
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
object
Processing
:
ChatItem
User
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
User
(
val
message
:
String
,
val
itemId
:
Int
)
:
ChatItem
Properties
item
Id
Link copied to clipboard
abstract
val
itemId
:
Any