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