Interface HarnessBedrockModelConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessBedrockModelConfig.Builder,,HarnessBedrockModelConfig> SdkBuilder<HarnessBedrockModelConfig.Builder,,HarnessBedrockModelConfig> SdkPojo
- Enclosing class:
HarnessBedrockModelConfig
@Mutable
@NotThreadSafe
public static interface HarnessBedrockModelConfig.Builder
extends SdkPojo, CopyableBuilder<HarnessBedrockModelConfig.Builder,HarnessBedrockModelConfig>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalParams(Document additionalParams) Provider-specific parameters passed through to the model provider unchanged.The API format to use when calling the Bedrock provider.apiFormat(HarnessBedrockApiFormat apiFormat) The API format to use when calling the Bedrock provider.The maximum number of tokens to allow in the generated response per iteration.The Bedrock model ID.temperature(Float temperature) The temperature to set when calling the model.The topP set when calling the model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
modelId
The Bedrock model ID.
- Parameters:
modelId- The Bedrock model ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxTokens
The maximum number of tokens to allow in the generated response per iteration.
- Parameters:
maxTokens- The maximum number of tokens to allow in the generated response per iteration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
temperature
The temperature to set when calling the model.
- Parameters:
temperature- The temperature to set when calling the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topP
The topP set when calling the model.
- Parameters:
topP- The topP set when calling the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiFormat
The API format to use when calling the Bedrock provider.
- Parameters:
apiFormat- The API format to use when calling the Bedrock provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiFormat
The API format to use when calling the Bedrock provider.
- Parameters:
apiFormat- The API format to use when calling the Bedrock provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalParams
Provider-specific parameters passed through to the model provider unchanged.
- Parameters:
additionalParams- Provider-specific parameters passed through to the model provider unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-