Package com.braintrustdata.api.models
Class PromptOptions.Params.WindowAiModelParams
-
- All Implemented Interfaces:
public final class PromptOptions.Params.WindowAiModelParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptOptions.Params.WindowAiModelParams.BuilderA builder for WindowAiModelParams.
-
Method Summary
Modifier and Type Method Description final Optional<Double>temperature()final Optional<Double>topK()final Optional<Boolean>useCache()final JsonField<Double>_temperature()Returns the raw JSON value of temperature. final JsonField<Double>_topK()Returns the raw JSON value of topK. final JsonField<Boolean>_useCache()Returns the raw JSON value of useCache. final Map<String, JsonValue>_additionalProperties()final PromptOptions.Params.WindowAiModelParamsvalidate()final PromptOptions.Params.WindowAiModelParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptOptions.Params.WindowAiModelParams.Builderbuilder()Returns a mutable builder for constructing an instance of WindowAiModelParams. -
-
Method Detail
-
temperature
final Optional<Double> temperature()
-
_temperature
final JsonField<Double> _temperature()
Returns the raw JSON value of temperature.
Unlike temperature, this method doesn't throw if the JSON field has an unexpected type.
-
_topK
final JsonField<Double> _topK()
Returns the raw JSON value of topK.
Unlike topK, this method doesn't throw if the JSON field has an unexpected type.
-
_useCache
final JsonField<Boolean> _useCache()
Returns the raw JSON value of useCache.
Unlike useCache, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final PromptOptions.Params.WindowAiModelParams validate()
-
toBuilder
final PromptOptions.Params.WindowAiModelParams.Builder toBuilder()
-
builder
final static PromptOptions.Params.WindowAiModelParams.Builder builder()
Returns a mutable builder for constructing an instance of WindowAiModelParams.
-
-
-
-