Interface HarnessLiteLlmModelConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessLiteLlmModelConfig.Builder,,HarnessLiteLlmModelConfig> SdkBuilder<HarnessLiteLlmModelConfig.Builder,,HarnessLiteLlmModelConfig> SdkPojo
- Enclosing class:
HarnessLiteLlmModelConfig
@Mutable
@NotThreadSafe
public static interface HarnessLiteLlmModelConfig.Builder
extends SdkPojo, CopyableBuilder<HarnessLiteLlmModelConfig.Builder,HarnessLiteLlmModelConfig>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalParams(Document additionalParams) Provider-specific parameters passed through to the model provider unchanged.The base URL for the model provider's API endpoint.The ARN of the API key in AgentCore Identity for authenticating with the model provider.The maximum number of tokens to allow in the generated response per iteration.The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").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 LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").
- Parameters:
modelId- The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeyArn
The ARN of the API key in AgentCore Identity for authenticating with the model provider.
- Parameters:
apiKeyArn- The ARN of the API key in AgentCore Identity for authenticating with the model provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiBase
The base URL for the model provider's API endpoint.
- Parameters:
apiBase- The base URL for the model provider's API endpoint.- 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.
-
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.
-