AgentcoreHarnessModelBedrockModelConfig class
Constructors
-
AgentcoreHarnessModelBedrockModelConfig({Input<
int?> ? maxTokens, required Input<String> modelId, Input<double?> ? temperature, Input<double?> ? topP}) -
Creates a new AgentcoreHarnessModelBedrockModelConfig.
maxTokensMaximum number of tokens to generate.modelIdBedrock model ID (e.g.,anthropic.claude-sonnet-4-20250514).temperatureTemperature for sampling. Must be between 0 and 2.topPTop-p (nucleus) sampling parameter. Must be between 0 and 1.const -
AgentcoreHarnessModelBedrockModelConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxTokens
→ Input<
int?> ? -
Maximum number of tokens to generate.
final
-
modelId
→ Input<
String> -
Bedrock model ID (e.g.,
anthropic.claude-sonnet-4-20250514).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
temperature
→ Input<
double?> ? -
Temperature for sampling. Must be between 0 and 2.
final
-
topP
→ Input<
double?> ? -
Top-p (nucleus) sampling parameter. Must be between 0 and 1.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited