Class PromptAnalyzerCreateResponse.Results.GuardrailResults.RefusalClassifierResults
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateResponse.Results.GuardrailResults.RefusalClassifierResultsThe refusal classifier results
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptAnalyzerCreateResponse.Results.GuardrailResults.RefusalClassifierResults.BuilderA builder for RefusalClassifierResults.
-
Method Summary
-
-
Method Detail
-
elapsedMs
final Optional<Double> elapsedMs()
The time in milliseconds it took to process the refusal classifier
-
probabilities
final Optional<List<Double>> probabilities()
-
_elapsedMs
final JsonField<Double> _elapsedMs()
Returns the raw JSON value of elapsedMs.
Unlike elapsedMs, this method doesn't throw if the JSON field has an unexpected type.
-
_probabilities
final JsonField<List<Double>> _probabilities()
Returns the raw JSON value of probabilities.
Unlike probabilities, this method doesn't throw if the JSON field has an unexpected type.
-
_verdict
final JsonField<Boolean> _verdict()
Returns the raw JSON value of verdict.
Unlike verdict, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<Double> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptAnalyzerCreateResponse.Results.GuardrailResults.RefusalClassifierResults.Builder toBuilder()
-
validate
final PromptAnalyzerCreateResponse.Results.GuardrailResults.RefusalClassifierResults validate()
-
builder
final static PromptAnalyzerCreateResponse.Results.GuardrailResults.RefusalClassifierResults.Builder builder()
Returns a mutable builder for constructing an instance of RefusalClassifierResults.
-
-
-
-