Class RuntimeEvaluateResponseParams
-
- All Implemented Interfaces:
-
com.hiddenlayer.api.core.Params
public final class RuntimeEvaluateResponseParams implements Params
BETA This endpoint is not GA or Production ready and is subject to changes at any time. Breaking changes may occur.
Analyzes an LLM response payload for security threats after it is received from the model.
Accepts any valid provider response payload and returns:
If detect or redact action: the response payload (potentially modified) in the provider's response format
If block action: a canned block message in the provider's response format
Use this endpoint inline in your LLM pipeline to evaluate model outputs before returning them to users.
Supported provider formats:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRuntimeEvaluateResponseParams.BuilderA builder for RuntimeEvaluateResponseParams.
public final classRuntimeEvaluateResponseParams.BodyA pass-through payload in the native format of the LLM provider. Any valid provider request or response payload is accepted as-is and returned in the same format.
-
Method Summary
Modifier and Type Method Description final Optional<String>hlProjectId()final Optional<String>hlRuntimeSessionId()final RuntimeEvaluateResponseParams.Bodybody()A pass-through payload in the native format of the LLM provider. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final RuntimeEvaluateResponseParams.BuildertoBuilder()final RuntimeEvaluateResponseParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static RuntimeEvaluateResponseParams.Builderbuilder()Returns a mutable builder for constructing an instance of RuntimeEvaluateResponseParams. -
-
Method Detail
-
hlProjectId
final Optional<String> hlProjectId()
-
hlRuntimeSessionId
final Optional<String> hlRuntimeSessionId()
-
body
final RuntimeEvaluateResponseParams.Body body()
A pass-through payload in the native format of the LLM provider. Any valid provider request or response payload is accepted as-is and returned in the same format.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final RuntimeEvaluateResponseParams.Builder toBuilder()
-
_body
final RuntimeEvaluateResponseParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static RuntimeEvaluateResponseParams.Builder builder()
Returns a mutable builder for constructing an instance of RuntimeEvaluateResponseParams.
The following fields are required:
.body()
-
-
-
-