kmp-toolkit
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmp-toolkit
result
/
com.siddharth.kmp.result
/
PromptGuard
/
Guarded
Guarded
data
class
Guarded
(
val
text
:
String
,
val
overrideAttemptDetected
:
Boolean
)
(
source
)
The guarded prompt text, and whether untrusted itself matched a known override phrasing.
Members
Constructors
Guarded
Link copied to clipboard
constructor
(
text
:
String
,
overrideAttemptDetected
:
Boolean
)
Properties
override
Attempt
Detected
Link copied to clipboard
val
overrideAttemptDetected
:
Boolean
text
Link copied to clipboard
val
text
:
String