AgentcoreHarnessModelGeminiModelConfig class
Constructors
-
AgentcoreHarnessModelGeminiModelConfig({required Input<
String> apiKeyArn, Input<int?> ? maxTokens, required Input<String> modelId, Input<double?> ? temperature, Input<int?> ? topK, Input<double?> ? topP}) -
Creates a new AgentcoreHarnessModelGeminiModelConfig.
apiKeyArnARN of the secret containing the API key.maxTokensMaximum number of tokens to generate.modelIdGemini model ID.temperatureTemperature for sampling.topKTop-k sampling parameter.topPTop-p sampling parameter.const -
AgentcoreHarnessModelGeminiModelConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiKeyArn
→ Input<
String> -
ARN of the secret containing the API key.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxTokens
→ Input<
int?> ? -
Maximum number of tokens to generate.
final
-
modelId
→ Input<
String> -
Gemini model ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
temperature
→ Input<
double?> ? -
Temperature for sampling.
final
-
topK
→ Input<
int?> ? -
Top-k sampling parameter.
final
-
topP
→ Input<
double?> ? -
Top-p sampling parameter.
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