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
-
-
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()
-
toBuilder
final PromptOptions.Params.GoogleModelParams.Builder toBuilder()
-
validate
final PromptOptions.Params.GoogleModelParams validate()
-
builder
final static PromptOptions.Params.GoogleModelParams.Builder builder()
Returns a mutable builder for constructing an instance of GoogleModelParams.
-
-
-
-