Class PromptOptions.Params.WindowAiModelParams.Builder
-
- All Implemented Interfaces:
public final class PromptOptions.Params.WindowAiModelParams.BuilderA builder for WindowAiModelParams.
-
-
Method Summary
-
-
Method Detail
-
temperature
final PromptOptions.Params.WindowAiModelParams.Builder temperature(Double temperature)
-
temperature
final PromptOptions.Params.WindowAiModelParams.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.WindowAiModelParams.Builder topK(Double topK)
-
topK
final PromptOptions.Params.WindowAiModelParams.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.
-
useCache
final PromptOptions.Params.WindowAiModelParams.Builder useCache(Boolean useCache)
-
useCache
final PromptOptions.Params.WindowAiModelParams.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.WindowAiModelParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PromptOptions.Params.WindowAiModelParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PromptOptions.Params.WindowAiModelParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PromptOptions.Params.WindowAiModelParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PromptOptions.Params.WindowAiModelParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PromptOptions.Params.WindowAiModelParams build()
Returns an immutable instance of WindowAiModelParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-