AgentcoreHarnessModelOpenaiModelConfig constructor
const
AgentcoreHarnessModelOpenaiModelConfig({})
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,
});