Package com.braintrustdata.api.models
Class PromptOptions
-
- All Implemented Interfaces:
public final class PromptOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptOptions.BuilderA builder for PromptOptions.
public final classPromptOptions.Params
-
Method Summary
Modifier and Type Method Description final Optional<String>model()final Optional<PromptOptions.Params>params()final Optional<String>position()final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<PromptOptions.Params>_params()Returns the raw JSON value of params. final JsonField<String>_position()Returns the raw JSON value of position. final Map<String, JsonValue>_additionalProperties()final PromptOptions.BuildertoBuilder()final PromptOptionsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptOptions.Builderbuilder()Returns a mutable builder for constructing an instance of PromptOptions. -
-
Method Detail
-
params
final Optional<PromptOptions.Params> params()
-
_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.
-
_params
final JsonField<PromptOptions.Params> _params()
Returns the raw JSON value of params.
Unlike params, this method doesn't throw if the JSON field has an unexpected type.
-
_position
final JsonField<String> _position()
Returns the raw JSON value of position.
Unlike position, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptOptions.Builder toBuilder()
-
validate
final PromptOptions validate()
-
builder
final static PromptOptions.Builder builder()
Returns a mutable builder for constructing an instance of PromptOptions.
-
-
-
-