Class PromptOptions.Params.GoogleModelParams.Builder
-
- All Implemented Interfaces:
public final class PromptOptions.Params.GoogleModelParams.BuilderA builder for GoogleModelParams.
-
-
Method Summary
-
-
Method Detail
-
maxOutputTokens
final PromptOptions.Params.GoogleModelParams.Builder maxOutputTokens(Double maxOutputTokens)
-
maxOutputTokens
final PromptOptions.Params.GoogleModelParams.Builder maxOutputTokens(JsonField<Double> maxOutputTokens)
Sets Builder.maxOutputTokens to an arbitrary JSON value.
You should usually call Builder.maxOutputTokens with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
temperature
final PromptOptions.Params.GoogleModelParams.Builder temperature(Double temperature)
-
temperature
final PromptOptions.Params.GoogleModelParams.Builder temperature(JsonField<Double> temperature)
Sets Builder.temperature to an arbitrary JSON value.
You should usually call Builder.temperature with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
topK
final PromptOptions.Params.GoogleModelParams.Builder topK(Double topK)
-
topK
final PromptOptions.Params.GoogleModelParams.Builder topK(JsonField<Double> topK)
Sets Builder.topK to an arbitrary JSON value.
You should usually call Builder.topK with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
topP
final PromptOptions.Params.GoogleModelParams.Builder topP(Double topP)
-
topP
final PromptOptions.Params.GoogleModelParams.Builder topP(JsonField<Double> topP)
Sets Builder.topP to an arbitrary JSON value.
You should usually call Builder.topP with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
useCache
final PromptOptions.Params.GoogleModelParams.Builder useCache(Boolean useCache)
-
useCache
final PromptOptions.Params.GoogleModelParams.Builder useCache(JsonField<Boolean> useCache)
Sets Builder.useCache to an arbitrary JSON value.
You should usually call Builder.useCache with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PromptOptions.Params.GoogleModelParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PromptOptions.Params.GoogleModelParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PromptOptions.Params.GoogleModelParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PromptOptions.Params.GoogleModelParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PromptOptions.Params.GoogleModelParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PromptOptions.Params.GoogleModelParams build()
Returns an immutable instance of GoogleModelParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-