Drift Engine Documentation
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Drift Engine Documentation
studio
/
dev.gmitch215.drift.studio.ui
/
PredictView
Predict
View
data
class
PredictView
(
val
probeId
:
String
,
val
index
:
Int
,
val
count
:
Int
,
val
question
:
String
,
val
source
:
List
<
String
>
,
val
target
:
String
,
val
choices
:
List
<
ChoiceView
>
,
val
reveal
:
RevealView
?
,
val
score
:
Score
)
(
source
)
Members
Constructors
Predict
View
Link copied to clipboard
constructor
(
probeId
:
String
,
index
:
Int
,
count
:
Int
,
question
:
String
,
source
:
List
<
String
>
,
target
:
String
,
choices
:
List
<
ChoiceView
>
,
reveal
:
RevealView
?
,
score
:
Score
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
choices
Link copied to clipboard
val
choices
:
List
<
ChoiceView
>
count
Link copied to clipboard
val
count
:
Int
index
Link copied to clipboard
val
index
:
Int
probe
Id
Link copied to clipboard
val
probeId
:
String
prompt
Link copied to clipboard
val
prompt
:
String
question
Link copied to clipboard
val
question
:
String
reveal
Link copied to clipboard
val
reveal
:
RevealView
?
score
Link copied to clipboard
val
score
:
Score
source
Link copied to clipboard
val
source
:
List
<
String
>
target
Link copied to clipboard
val
target
:
String
Functions
encode
Link copied to clipboard
fun
encode
(
)
:
String
to
Json
Link copied to clipboard
fun
toJson
(
)
:
JsonObject