stream-chat-android
Toggle table of contents
7.17.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
stream-chat-android
stream-chat-android-ai-ondevice
/
io.getstream.chat.android.ai.ondevice
/
AIConversationTurn
AIConversation
Turn
data
class
AIConversationTurn
(
val
role
:
AIConversationTurn.Role
,
val
text
:
String
)
One turn of a conversation, for a local model.
Parameters
role
Who said it.
text
What they said.
Members
Constructors
AIConversation
Turn
Link copied to clipboard
constructor
(
role
:
AIConversationTurn.Role
,
text
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Role
Link copied to clipboard
enum
Role
:
Enum
<
AIConversationTurn.Role
>
Who said a turn.
Properties
role
Link copied to clipboard
val
role
:
AIConversationTurn.Role
text
Link copied to clipboard
val
text
:
String