Class PromptAnalyzerCreateParams
-
- All Implemented Interfaces:
-
com.hiddenlayer.api.core.Params
public final class PromptAnalyzerCreateParams implements Params
Analyze LLM Prompt and Response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptAnalyzerCreateParams.BuilderA builder for PromptAnalyzerCreateParams.
public final classPromptAnalyzerCreateParams.BodyThe request to the prompt analyzer endpoint
-
Method Summary
Modifier and Type Method Description final Optional<String>hlProjectId()final Optional<String>xCorrelationId()final Optional<String>xRequesterId()final Stringprompt()final Optional<String>model()final Optional<String>output()final JsonField<String>_prompt()Returns the raw JSON value of prompt. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<String>_output()Returns the raw JSON value of output. 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 PromptAnalyzerCreateParams.BuildertoBuilder()final PromptAnalyzerCreateParams.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 PromptAnalyzerCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of PromptAnalyzerCreateParams. -
-
Method Detail
-
hlProjectId
final Optional<String> hlProjectId()
-
xCorrelationId
final Optional<String> xCorrelationId()
-
xRequesterId
final Optional<String> xRequesterId()
-
_prompt
final JsonField<String> _prompt()
Returns the raw JSON value of prompt.
Unlike prompt, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_output
final JsonField<String> _output()
Returns the raw JSON value of output.
Unlike output, this method doesn't throw if the JSON field has an unexpected type.
-
_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 PromptAnalyzerCreateParams.Builder toBuilder()
-
_body
final PromptAnalyzerCreateParams.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 PromptAnalyzerCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of PromptAnalyzerCreateParams.
The following fields are required:
.prompt()
-
-
-
-