Class JevAutoModeMiddleware.Builder
java.lang.Object
io.agentscope.extensions.judge.jev.example.JevAutoModeMiddleware.Builder
- Enclosing class:
- JevAutoModeMiddleware
-
Method Summary
Modifier and TypeMethodDescriptionbuild()denyMessage(String denyMessage) failOpen(boolean failOpen) guardedTool(String toolName) guardedTools(Set<String> toolNames) safetyThreshold(double safetyThreshold) Minimum P(safe) required for a guarded tool call to pass.
-
Method Details
-
guardedTool
-
guardedTools
-
safetyThreshold
Minimum P(safe) required for a guarded tool call to pass. A call is denied when its calibrated safety probability is below this value.- Parameters:
safetyThreshold- threshold in [0, 1]; defaults to0.5
-
denyMessage
-
failOpen
-
build
-