Class PromptOptions.Params.AnthropicModelParams
-
- All Implemented Interfaces:
public final class PromptOptions.Params.AnthropicModelParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptOptions.Params.AnthropicModelParams.BuilderA builder for AnthropicModelParams.
-
Method Summary
-
-
Method Detail
-
temperature
final Double temperature()
-
maxTokensToSample
final Optional<Double> maxTokensToSample()
This is a legacy parameter that should not be used.
-
stopSequences
final Optional<List<String>> stopSequences()
-
_maxTokens
final JsonField<Double> _maxTokens()
Returns the raw JSON value of maxTokens.
Unlike maxTokens, 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.
-
_maxTokensToSample
final JsonField<Double> _maxTokensToSample()
Returns the raw JSON value of maxTokensToSample.
Unlike maxTokensToSample, this method doesn't throw if the JSON field has an unexpected type.
-
_stopSequences
final JsonField<List<String>> _stopSequences()
Returns the raw JSON value of stopSequences.
Unlike stopSequences, 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.AnthropicModelParams.Builder toBuilder()
-
validate
final PromptOptions.Params.AnthropicModelParams validate()
-
builder
final static PromptOptions.Params.AnthropicModelParams.Builder builder()
Returns a mutable builder for constructing an instance of AnthropicModelParams.
The following fields are required:
.maxTokens() .temperature()
-
-
-
-