AgentcoreHarnessModelOpenaiModelConfig constructor

const AgentcoreHarnessModelOpenaiModelConfig({
  1. required Input<String> apiKeyArn,
  2. Input<int?>? maxTokens,
  3. required Input<String> modelId,
  4. Input<double?>? temperature,
  5. Input<double?>? topP,
})

Creates a new AgentcoreHarnessModelOpenaiModelConfig. apiKeyArn ARN of the secret containing the API key. maxTokens Maximum number of tokens to generate. modelId OpenAI model ID. temperature Temperature for sampling. topP Top-p sampling parameter.

Implementation

const AgentcoreHarnessModelOpenaiModelConfig({
  required this.apiKeyArn,
  this.maxTokens,
  required this.modelId,
  this.temperature,
  this.topP,
});