AgentcoreHarnessModelOpenaiModelConfig class
Constructors
-
AgentcoreHarnessModelOpenaiModelConfig({required Input<
String> apiKeyArn, Input<int?> ? maxTokens, required Input<String> modelId, Input<double?> ? temperature, Input<double?> ? topP}) -
Creates a new AgentcoreHarnessModelOpenaiModelConfig.
apiKeyArnARN of the secret containing the API key.maxTokensMaximum number of tokens to generate.modelIdOpenAI model ID.temperatureTemperature for sampling.topPTop-p sampling parameter.const -
AgentcoreHarnessModelOpenaiModelConfig.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> -
OpenAI model ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
temperature
→ Input<
double?> ? -
Temperature for sampling.
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